Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001031/0.001031, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.000915/0.000915, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.9338/0.9338, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7842/0.7842, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0.7656 kB / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.146e-05, allocations: 4.703 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001183/0.001195, allocations: 0.7442 MB / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.00229, allocations: 1.198 MB / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.00233, allocations: 5.25 kB / 481.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.002358, allocations: 3.938 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.002423, allocations: 11.92 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.002752, allocations: 130.7 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.002886, allocations: 118.9 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.00295, allocations: 15.92 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.003049, allocations: 71.28 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.003125, allocations: 33.47 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.003144, allocations: 10.2 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-05/0.003193, allocations: 23.98 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.003214, allocations: 15.92 kB / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.003252, allocations: 36.69 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003376, allocations: 95.69 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003378, allocations: 0 / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.6e-07/0.003378, allocations: 0.8125 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.003381, allocations: 0 / 482.5 MB, free: 4.457 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003602/0.003741, allocations: 306.2 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.00377, allocations: 8.656 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.003802, allocations: 12.94 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.003875, allocations: 124.5 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.003886, allocations: 4.375 kB / 483 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.003903, allocations: 8.375 kB / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.89e-05/0.003992, allocations: 66.92 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003998, allocations: 192 / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.004004, allocations: 384 / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004009, allocations: 384 / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.578e-05/0.004035, allocations: 19.86 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.004278, allocations: 176.8 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.004349, allocations: 35.47 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.004368, allocations: 10.05 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.004375, allocations: 7.938 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.638e-05/0.004451, allocations: 71.56 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.004453, allocations: 7.906 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001159/0.004569, allocations: 65.61 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.004602, allocations: 63.95 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.004659, allocations: 122.6 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.004679, allocations: 34.33 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.004715, allocations: 88.7 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.004732, allocations: 19.88 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.004776, allocations: 38.31 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.004849, allocations: 318.8 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.004897, allocations: 54.31 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.004956, allocations: 90.59 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.005037, allocations: 104.7 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005039, allocations: 0 / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001336/0.005173, allocations: 173.8 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.005198, allocations: 37.69 kB / 484.5 MB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.005203, allocations: 0 / 484.5 MB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.00522, allocations: 8.938 kB / 484.5 MB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.005271, allocations: 15.98 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.005275, allocations: 4.562 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.005349, allocations: 25.25 kB / 484.6 MB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.00536, allocations: 7.984 kB / 484.6 MB, free: 2.16 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.447e-05/0.005425, allocations: 122.4 kB / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.005433, allocations: 4 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.005451, allocations: 9.656 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.005455, allocations: 11.92 kB / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.005456, allocations: 0 / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005459, allocations: 1.062 kB / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.005608, allocations: 214.8 kB / 484.9 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.005609, allocations: 0.9062 kB / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.005627, allocations: 7.984 kB / 485 MB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.005628, allocations: 0 / 485 MB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.005635, allocations: 4.656 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005635, allocations: 4 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005636, allocations: 0.5938 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.262e-05/0.005708, allocations: 156.9 kB / 485.1 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.005714, allocations: 3.953 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.005732, allocations: 7.938 kB / 485.1 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.005764, allocations: 3.984 kB / 485.1 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.005791, allocations: 12.77 kB / 485.1 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.005793, allocations: 0 / 485.1 MB, free: 1.562 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.325e-05/0.005807, allocations: 18.84 kB / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005807, allocations: 0 / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.005947, allocations: 31.98 kB / 485.2 MB, free: 1.512 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 8.552e-05/0.006032, allocations: 77.08 kB / 485.3 MB, free: 1.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.006171, allocations: 150.6 kB / 485.4 MB, free: 1.262 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.006174, allocations: 7.938 kB / 485.4 MB, free: 1.254 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.006201, allocations: 25.28 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.006329, allocations: 18.08 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.006557, allocations: 162.9 kB / 485.6 MB, free: 1.023 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.006591, allocations: 60.28 kB / 485.7 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.206e-05/0.006613, allocations: 9.266 kB / 485.7 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.006687, allocations: 71.34 kB / 485.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006688, allocations: 0 / 485.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of Templates: time 0.002862/0.009549, allocations: 1.641 MB / 487.4 MB, free: 15.35 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.525925398338586]