Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000835/0.000835, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002166, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007184/0.0007184, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009611/0.00168, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08367/1.12, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8149/0.8149, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.268/1.083, allocations: 49.04 MB / 447.8 MB, free: 6.551 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0.5469 kB / 449.2 MB, free: 5.238 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.094e-05, allocations: 2.875 kB / 449.2 MB, free: 5.234 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.00229/0.002311, allocations: 0.6982 MB / 449.9 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.003735, allocations: 1.24 MB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.003773, allocations: 1.969 kB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.003798, allocations: 7.938 kB / 451.1 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.003851, allocations: 20.5 kB / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.004321, allocations: 200.8 kB / 451.3 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.004576, allocations: 169.4 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.004664, allocations: 12.56 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.004821, allocations: 95.02 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.004951, allocations: 57.81 kB / 451.6 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.004987, allocations: 17.67 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.17e-05/0.005079, allocations: 23.98 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.005105, allocations: 11.95 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.005161, allocations: 30.08 kB / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.005344, allocations: 106.6 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.005357, allocations: 0 / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005357, allocations: 3.938 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.005372, allocations: 0.875 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005413/0.005913, allocations: 353.8 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005952, allocations: 9.312 kB / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.006005, allocations: 12.92 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.006115, allocations: 113.7 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.006134, allocations: 8.375 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.006165, allocations: 13.22 kB / 452.3 MB, free: 2.062 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/0.006246, allocations: 34.25 kB / 452.4 MB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.006256, allocations: 5.672 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.006263, allocations: 384 / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.00627, allocations: 4.375 kB / 452.4 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.006287, allocations: 11.88 kB / 452.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.006589, allocations: 181 kB / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.006656, allocations: 27.98 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.006673, allocations: 12.94 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.00668, allocations: 0 / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.006798, allocations: 83.84 kB / 452.7 MB, free: 1.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.006799, allocations: 0 / 452.7 MB, free: 1.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001526/0.006951, allocations: 80.7 kB / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.006986, allocations: 51.41 kB / 452.8 MB, free: 1.523 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.007064, allocations: 126.5 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.00709, allocations: 34.55 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.007139, allocations: 92.12 kB / 453.1 MB, free: 1.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.007157, allocations: 12.67 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.007232, allocations: 49.67 kB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.007331, allocations: 323.4 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.00743, allocations: 91.38 kB / 453.5 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.007546, allocations: 138.3 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.007681, allocations: 140.4 kB / 453.8 MB, free: 448 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.007683, allocations: 1.438 kB / 453.8 MB, free: 448 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002658/0.007949, allocations: 264.3 kB / 454.1 MB, free: 152 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/0.008007, allocations: 68.23 kB / 454.1 MB, free: 72 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.008018, allocations: 7.938 kB / 454.1 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.008033, allocations: 0.7188 kB / 454.1 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.382e-05/0.008057, allocations: 7.938 kB / 454.2 MB, free: 56 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.008062, allocations: 4.766 kB / 454.2 MB, free: 52 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.00827, allocations: 48.55 kB / 454.2 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.008309, allocations: 11.12 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.008392, allocations: 117.8 kB / 454.3 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.008405, allocations: 7.938 kB / 454.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.008437, allocations: 16.38 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008439, allocations: 0 / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008441, allocations: 0 / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008444, allocations: 0 / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.348e-05/0.008527, allocations: 82.47 kB / 454.4 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008529, allocations: 0 / 454.4 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-06/0.008539, allocations: 4.938 kB / 454.4 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.00855, allocations: 7.953 kB / 454.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.008552, allocations: 1.094 kB / 454.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.008559, allocations: 4 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.008562, allocations: 7.922 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008564, allocations: 0.625 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.184e-05/0.008656, allocations: 81.09 kB / 454.5 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.008667, allocations: 0.625 kB / 454.5 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.008687, allocations: 4 kB / 454.5 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.008718, allocations: 13.16 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.008724, allocations: 4.625 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.909e-05/0.008743, allocations: 13.27 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008743, allocations: 0.625 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.008944, allocations: 35.98 kB / 454.6 MB, free: 15.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001283/0.009072, allocations: 85.75 kB / 454.7 MB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.009322, allocations: 260.3 kB / 454.9 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.009331, allocations: 0 / 454.9 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.009364, allocations: 25.39 kB / 455 MB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.009549, allocations: 127.7 kB / 455.1 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.01008, allocations: 150.3 kB / 455.2 MB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.01012, allocations: 63.34 kB / 455.3 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.01015, allocations: 4.625 kB / 455.3 MB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.01028, allocations: 80.66 kB / 455.4 MB, free: 14.66 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01028, allocations: 0 / 455.4 MB, free: 14.66 MB / 442.7 MB Notification: Performance of Templates: time 0.004692/0.01497, allocations: 2.242 MB / 457.6 MB, free: 12.58 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.583286519162357]