Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.000765/0.000765, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008589/0.0008589, allocations: 173.2 kB / 23.2 MB, free: 1.367 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.9257/0.9257, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7285/0.7285, allocations: 154.9 MB / 414.9 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [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.001372/0.001372, allocations: 67.91 kB / 0.6199 GB, free: 12.76 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4609/0.4623, allocations: 102 MB / 0.7195 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001745/0.464, allocations: 0.8483 MB / 0.7203 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.4654, allocations: 1.195 MB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.4654, allocations: 1.094 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.4655, allocations: 14.83 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.4655, allocations: 15.72 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.4661, allocations: 157.2 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.4663, allocations: 170.4 kB / 0.7218 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.4664, allocations: 23.3 kB / 0.7219 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.4665, allocations: 99.97 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.4667, allocations: 62.8 kB / 0.722 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.4667, allocations: 16.06 kB / 0.722 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.4667, allocations: 26.95 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.4668, allocations: 25.16 kB / 0.7221 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.4668, allocations: 58.67 kB / 0.7221 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.4671, allocations: 197.5 kB / 0.7223 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4671, allocations: 1.25 kB / 0.7223 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4671, allocations: 0 / 0.7223 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4671, allocations: 3.938 kB / 0.7223 GB, free: 21.69 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005623/0.4677, allocations: 416.7 kB / 0.7227 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4677, allocations: 11.05 kB / 0.7227 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.4678, allocations: 21.12 kB / 0.7228 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.4682, allocations: 183.1 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.4682, allocations: 6.656 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.4682, allocations: 13.41 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.4684, allocations: 99.77 kB / 0.723 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4684, allocations: 7.875 kB / 0.723 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4684, allocations: 6.453 kB / 0.7231 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4684, allocations: 5.188 kB / 0.7231 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.865e-05/0.4685, allocations: 42.67 kB / 0.7231 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.4691, allocations: 311.7 kB / 0.7234 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.4692, allocations: 40.11 kB / 0.7234 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.4693, allocations: 26.53 kB / 0.7235 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.4693, allocations: 1.156 kB / 0.7235 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.4695, allocations: 105.4 kB / 0.7236 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.4695, allocations: 0 / 0.7236 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003089/0.4698, allocations: 130.9 kB / 0.7237 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.4698, allocations: 57.12 kB / 0.7237 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.4699, allocations: 143.2 kB / 0.7239 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4699, allocations: 33.33 kB / 0.7239 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4699, allocations: 109.3 kB / 0.724 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.47, allocations: 35.08 kB / 0.724 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.47, allocations: 51.67 kB / 0.7241 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.4701, allocations: 324.8 kB / 0.7244 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4702, allocations: 82.25 kB / 0.7245 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.4703, allocations: 157 kB / 0.7246 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.4705, allocations: 206.6 kB / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4705, allocations: 0 / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003155/0.4708, allocations: 277.9 kB / 0.7251 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.4708, allocations: 40.09 kB / 0.7251 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4708, allocations: 6.219 kB / 0.7251 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4709, allocations: 6.203 kB / 0.7251 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.4709, allocations: 26.94 kB / 0.7252 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.4709, allocations: 8.828 kB / 0.7252 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.4711, allocations: 42.69 kB / 0.7252 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.4711, allocations: 15.77 kB / 0.7252 GB, free: 19.38 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.405e-05/0.4712, allocations: 125.1 kB / 0.7254 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.4712, allocations: 9.562 kB / 0.7254 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.4712, allocations: 12.77 kB / 0.7254 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4712, allocations: 8.5 kB / 0.7254 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4712, allocations: 0 / 0.7254 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.4712, allocations: 12.52 kB / 0.7254 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.4712, allocations: 6.219 kB / 0.7254 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.4713, allocations: 11.2 kB / 0.7254 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.4713, allocations: 7.719 kB / 0.7254 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002203/0.4715, allocations: 195.2 kB / 0.7256 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002783/0.4718, allocations: 335.8 kB / 0.7259 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.155e-05/0.4719, allocations: 32.89 kB / 0.726 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.4719, allocations: 106.8 kB / 0.7261 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of Backend: time 3.4e-07/0.4719, allocations: 0 / 0.7261 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.4724, allocations: 258.6 kB / 0.7263 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004933/0.4729, allocations: 0.7235 MB / 0.727 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.004343/0.4772, allocations: 1.933 MB / 0.7289 GB, free: 17.68 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.231731550069526] Failed to read output from testmodel.py, exit status != 0: 0.48434002394787967 0.49744120499999994 0.027530908000000003 Calling exit ...