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.0007808/0.0007808, allocations: 84.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0007734/0.0007734, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9214/0.9214, allocations: 177.2 MB / 203.6 MB, free: 5.77 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-531:686: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-531:694: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.7412/0.7412, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008866/0.0008866, allocations: 63.91 kB / 0.6196 GB, free: 13.15 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.4805/0.4814, allocations: 102 MB / 0.7191 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001521/0.483, allocations: 0.713 MB / 0.7198 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.484, allocations: 1.177 MB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.484, allocations: 5.062 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.4841, allocations: 4.5 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.361e-05/0.4841, allocations: 11.83 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.4845, allocations: 132.6 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.4846, allocations: 121.1 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.4847, allocations: 14.83 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.4848, allocations: 72.64 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.4849, allocations: 44.09 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.4849, allocations: 11 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.4849, allocations: 22.78 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.485, allocations: 9.516 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.485, allocations: 38.34 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.4852, allocations: 132.1 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4852, allocations: 1.125 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4852, allocations: 3.938 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.4852, allocations: 3.938 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB 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.0003809/0.4856, allocations: 340.7 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4856, allocations: 9.219 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.4857, allocations: 10.11 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.28e-05/0.4857, allocations: 116.9 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4857, allocations: 4.219 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.4857, allocations: 11.92 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.4859, allocations: 61.98 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4859, allocations: 1.25 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.4859, allocations: 4.594 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4859, allocations: 1.094 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.486, allocations: 50.81 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.4863, allocations: 263.3 kB / 0.7224 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4864, allocations: 53.48 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.4865, allocations: 38.14 kB / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.4865, allocations: 0 / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.4866, allocations: 94.36 kB / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4866, allocations: 0 / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002728/0.4869, allocations: 140.3 kB / 0.7227 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.4869, allocations: 54.3 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.627e-05/0.487, allocations: 121.4 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.487, allocations: 32.36 kB / 0.7229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.487, allocations: 90.55 kB / 0.723 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.487, allocations: 23.91 kB / 0.723 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.4871, allocations: 38.23 kB / 0.7231 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.082e-05/0.4871, allocations: 320.2 kB / 0.7234 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.4872, allocations: 85.62 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.4873, allocations: 116.4 kB / 0.7236 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.4875, allocations: 142.4 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4875, allocations: 0 / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002533/0.4877, allocations: 247.3 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4877, allocations: 35.12 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4878, allocations: 1.25 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4878, allocations: 2.406 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.4878, allocations: 19.33 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4878, allocations: 2.016 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4879, allocations: 38.59 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4879, allocations: 8.234 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB 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 5.718e-05/0.488, allocations: 119.3 kB / 0.7241 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.488, allocations: 11.06 kB / 0.7242 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.488, allocations: 10.67 kB / 0.7242 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.488, allocations: 5.25 kB / 0.7242 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.488, allocations: 12.92 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.488, allocations: 6.297 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.4881, allocations: 6.203 kB / 0.7242 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.488e-05/0.4881, allocations: 6.938 kB / 0.7242 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.4881, allocations: 5.547 kB / 0.7242 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001496/0.4883, allocations: 187.7 kB / 0.7244 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001451/0.4884, allocations: 297.4 kB / 0.7247 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.619e-05/0.4885, allocations: 32.08 kB / 0.7247 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.396e-05/0.4885, allocations: 91.73 kB / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of Backend: time 2.31e-07/0.4885, allocations: 0 / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.4888, allocations: 239.2 kB / 0.725 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0002905/0.4891, allocations: 0.6131 MB / 0.7256 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.003375/0.4925, allocations: 1.719 MB / 0.7273 GB, free: 18.49 MB / 0.6355 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.271868058945984] Failed to read output from testmodel.py, exit status != 0: 0.4972282028757036 0.506169654 0.019170671 Calling exit ...