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.001154/0.001154, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00124/0.00124, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.8997/0.8997, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.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.7644/0.7644, allocations: 154.6 MB / 414.8 MB, free: 0.5156 MB / 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. " [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 1.162e-06/1.162e-06, allocations: 0.6562 kB / 480 MB, free: 6.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.252e-05, allocations: 2.312 kB / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.0009663/0.0009788, allocations: 0.6525 MB / 480.7 MB, free: 6.305 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.001983, allocations: 1.237 MB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.002012, allocations: 0 / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.002032, allocations: 4.781 kB / 481.9 MB, free: 5.055 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.002092, allocations: 20.83 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.002467, allocations: 213.3 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.002618, allocations: 169.3 kB / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.002671, allocations: 9.234 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.002762, allocations: 90.02 kB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.002845, allocations: 59.09 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.002868, allocations: 16 kB / 482.5 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.00292, allocations: 27.92 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.002937, allocations: 14.7 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.002982, allocations: 52.83 kB / 482.6 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.003107, allocations: 131.7 kB / 482.7 MB, free: 4.297 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.003108, allocations: 0.5938 kB / 482.7 MB, free: 4.297 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003108, allocations: 3.938 kB / 482.7 MB, free: 4.293 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.003112, allocations: 1.438 kB / 482.7 MB, free: 4.293 MB / 442.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.0002802/0.003392, allocations: 335.3 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.00342, allocations: 8.031 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.003451, allocations: 12.92 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.564e-05/0.003517, allocations: 110.5 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.003527, allocations: 4.375 kB / 483.2 MB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.003548, allocations: 17.75 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.169e-05/0.0036, allocations: 46.17 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.003605, allocations: 192 / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.00361, allocations: 384 / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003615, allocations: 5.219 kB / 483.2 MB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.304e-05/0.003628, allocations: 11.92 kB / 483.2 MB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.003828, allocations: 176.7 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.003873, allocations: 31.62 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.182e-05/0.003885, allocations: 12.8 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-06/0.003889, allocations: 0.625 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.819e-05/0.003957, allocations: 82.3 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.003958, allocations: 0 / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001062/0.004064, allocations: 73.55 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.004098, allocations: 55.41 kB / 483.7 MB, free: 3.219 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.004158, allocations: 122.7 kB / 483.8 MB, free: 3.086 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.004182, allocations: 29.7 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.00422, allocations: 100.1 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.004228, allocations: 3.953 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.004283, allocations: 46.52 kB / 484 MB, free: 2.895 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.004347, allocations: 318.8 kB / 484.3 MB, free: 2.574 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.004418, allocations: 100.2 kB / 484.4 MB, free: 2.465 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.004491, allocations: 131.7 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/0.00458, allocations: 149.5 kB / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004582, allocations: 0 / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001693/0.004751, allocations: 257.5 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.004783, allocations: 72.02 kB / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.004787, allocations: 3.938 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.004795, allocations: 0.625 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.239e-05/0.004808, allocations: 7.938 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.004811, allocations: 4.609 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.004946, allocations: 49.2 kB / 485 MB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.004961, allocations: 7.984 kB / 485 MB, free: 1.703 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 6.227e-05/0.005023, allocations: 121.4 kB / 485.1 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.005032, allocations: 7.984 kB / 485.2 MB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.00505, allocations: 20.31 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005051, allocations: 0.9062 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.005053, allocations: 0 / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005055, allocations: 0.9062 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.693e-05/0.005112, allocations: 77.88 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005113, allocations: 0 / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-06/0.005116, allocations: 1 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005117, allocations: 0 / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-06/0.005121, allocations: 0 / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-07/0.005121, allocations: 4.625 kB / 485.3 MB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.005123, allocations: 5.25 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.892e-05/0.005182, allocations: 81.11 kB / 485.3 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.005188, allocations: 3.953 kB / 485.3 MB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-06/0.005196, allocations: 3.984 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.005207, allocations: 5.375 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.005228, allocations: 11.86 kB / 485.4 MB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.005231, allocations: 4 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.336e-05/0.005245, allocations: 17.78 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005245, allocations: 0 / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001212/0.005366, allocations: 31.98 kB / 485.4 MB, free: 1.273 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 7.482e-05/0.005441, allocations: 81.39 kB / 485.5 MB, free: 1.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.005607, allocations: 258 kB / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005608, allocations: 0 / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.005632, allocations: 28.81 kB / 485.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.68e-05/0.005719, allocations: 21.2 kB / 485.8 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.005898, allocations: 152.3 kB / 485.9 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.962e-05/0.005927, allocations: 55.36 kB / 486 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.605e-05/0.005943, allocations: 7.984 kB / 486 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/0.006026, allocations: 84.03 kB / 486.1 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.006027, allocations: 0 / 486.1 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of Templates: time 0.003071/0.009098, allocations: 2.208 MB / 488.3 MB, free: 14.46 MB / 458.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.506862008012831]