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.0007689/0.0007689, allocations: 76.45 kB / 19.9 MB, free: 16 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.000903/0.000903, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9193/0.9193, allocations: 177.2 MB / 203.6 MB, free: 5.785 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.7395/0.7395, allocations: 154.9 MB / 414.9 MB, free: 0.5039 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.0009129/0.0009129, allocations: 75.36 kB / 0.6199 GB, free: 12.75 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.4745/0.4754, 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.001759/0.4771, allocations: 0.8322 MB / 0.7203 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.4785, allocations: 1.198 MB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.4786, allocations: 1.438 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/0.4786, allocations: 13.23 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.094e-05/0.4787, allocations: 24.27 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.4792, allocations: 148.3 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.4795, allocations: 171.9 kB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.4797, allocations: 26.78 kB / 0.7219 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.4798, allocations: 100.2 kB / 0.722 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.48, allocations: 55.75 kB / 0.722 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.48, allocations: 15.28 kB / 0.722 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.4801, allocations: 34.14 kB / 0.7221 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.4801, allocations: 22.89 kB / 0.7221 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.4802, allocations: 58.2 kB / 0.7221 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.4805, allocations: 170.2 kB / 0.7223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4805, allocations: 1.031 kB / 0.7223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4805, allocations: 3.938 kB / 0.7223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.4805, allocations: 0 / 0.7223 GB, free: 21.73 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.0006483/0.4811, allocations: 417.2 kB / 0.7227 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4812, allocations: 10.59 kB / 0.7227 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.4812, allocations: 17.12 kB / 0.7227 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.4816, allocations: 199.1 kB / 0.7229 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4816, allocations: 5.594 kB / 0.7229 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.4817, allocations: 13.58 kB / 0.7229 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4818, allocations: 92.09 kB / 0.723 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4818, allocations: 9.062 kB / 0.723 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4819, allocations: 0.6562 kB / 0.723 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4819, allocations: 2.219 kB / 0.723 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.482, allocations: 51.56 kB / 0.7231 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.4825, allocations: 306.6 kB / 0.7234 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.4826, allocations: 36.19 kB / 0.7234 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.4826, allocations: 27.03 kB / 0.7234 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.4827, allocations: 1.125 kB / 0.7234 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.4829, allocations: 104.8 kB / 0.7235 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.4829, allocations: 0 / 0.7235 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003248/0.4832, allocations: 134.3 kB / 0.7237 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.4832, allocations: 54.7 kB / 0.7237 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.4833, allocations: 151 kB / 0.7239 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.4833, allocations: 28.47 kB / 0.7239 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.4834, allocations: 118 kB / 0.724 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.4834, allocations: 31.28 kB / 0.724 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.4835, allocations: 52.05 kB / 0.7241 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.4835, allocations: 321 kB / 0.7244 GB, free: 20 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4836, allocations: 78.02 kB / 0.7245 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.4838, allocations: 164.9 kB / 0.7246 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.4839, allocations: 197.2 kB / 0.7248 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.484, allocations: 5.469 kB / 0.7248 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003365/0.4843, allocations: 273.4 kB / 0.7251 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.4843, allocations: 40.59 kB / 0.7251 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4843, allocations: 2.188 kB / 0.7251 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4843, allocations: 5.594 kB / 0.7251 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.4844, allocations: 34.73 kB / 0.7251 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.4844, allocations: 5.156 kB / 0.7252 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4846, allocations: 43.12 kB / 0.7252 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.4846, allocations: 19.41 kB / 0.7252 GB, free: 19.41 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 7.407e-05/0.4847, allocations: 125.3 kB / 0.7253 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.4847, allocations: 13.72 kB / 0.7253 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.4847, allocations: 12.67 kB / 0.7254 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4847, allocations: 5.703 kB / 0.7254 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4847, allocations: 0 / 0.7254 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4847, allocations: 6.344 kB / 0.7254 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.4851, allocations: 332.8 kB / 0.7257 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4851, allocations: 0 / 0.7257 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.4851, allocations: 13.83 kB / 0.7257 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4851, allocations: 1.094 kB / 0.7257 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4851, allocations: 1.812 kB / 0.7257 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4851, allocations: 9.062 kB / 0.7257 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4851, allocations: 0 / 0.7257 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.4854, allocations: 243.5 kB / 0.7259 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.4854, allocations: 16.38 kB / 0.726 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.4854, allocations: 1.375 kB / 0.726 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.4855, allocations: 18.97 kB / 0.726 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.4855, allocations: 10.84 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4855, allocations: 4.688 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.4856, allocations: 109.4 kB / 0.7261 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4856, allocations: 0 / 0.7261 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002003/0.4858, allocations: 33.89 kB / 0.7261 GB, free: 18.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001222/0.4859, allocations: 103.8 kB / 0.7262 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.4862, allocations: 197.5 kB / 0.7264 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4862, allocations: 4.25 kB / 0.7264 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.4862, allocations: 37.19 kB / 0.7265 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.4865, allocations: 21.61 kB / 0.7265 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.4869, allocations: 263.6 kB / 0.7267 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.4869, allocations: 98.38 kB / 0.7268 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.487, allocations: 12.62 kB / 0.7268 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.487, allocations: 24.69 kB / 0.7269 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.487, allocations: 0 / 0.7269 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.004099/0.4911, allocations: 1.746 MB / 0.7286 GB, free: 17.97 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.309526090044528] Failed to read output from testmodel.py, exit status != 0: 0.497996489983052 0.506215822 0.023925359 Calling exit ...