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.0007135/0.0007135, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000721/0.000721, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8766/0.8766, allocations: 177.2 MB / 203.5 MB, free: 5.723 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6892/0.6892, allocations: 154.5 MB / 414.5 MB, free: 0.8281 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.936e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00132/0.001339, allocations: 0.8416 MB / 0.6202 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009531/0.002292, allocations: 1.197 MB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.00233, allocations: 4 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.002353, allocations: 11.86 kB / 0.6214 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.002398, allocations: 23.73 kB / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.00269, allocations: 158.5 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.002817, allocations: 159.7 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.44e-05/0.002891, allocations: 29.28 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.002975, allocations: 91.8 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.003038, allocations: 59.84 kB / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.003055, allocations: 12 kB / 0.6219 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.789e-05/0.003092, allocations: 27.98 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.003113, allocations: 27.91 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.003156, allocations: 51.89 kB / 0.622 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.003311, allocations: 183.5 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-06/0.003312, allocations: 3.938 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003312, allocations: 4 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.003315, allocations: 0 / 0.6221 GB, free: 10.28 MB / 0.5886 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.0003695/0.003685, allocations: 406.1 kB / 0.6225 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.00371, allocations: 17.45 kB / 0.6226 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.003742, allocations: 20.84 kB / 0.6226 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.003987, allocations: 181.7 kB / 0.6227 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.003995, allocations: 8.312 kB / 0.6228 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.004017, allocations: 20.33 kB / 0.6228 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.004132, allocations: 86.2 kB / 0.6229 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.004137, allocations: 4.125 kB / 0.6229 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.004145, allocations: 4.375 kB / 0.6229 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.00415, allocations: 16.05 kB / 0.6229 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.004228, allocations: 43.97 kB / 0.6229 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.004582, allocations: 308.2 kB / 0.6232 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.789e-05/0.00464, allocations: 38.55 kB / 0.6233 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.00468, allocations: 24.97 kB / 0.6233 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.004691, allocations: 4 kB / 0.6233 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.004814, allocations: 99.23 kB / 0.6234 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.004816, allocations: 3.984 kB / 0.6234 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002046/0.00502, allocations: 133.5 kB / 0.6235 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.005043, allocations: 55.41 kB / 0.6236 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.005113, allocations: 143.7 kB / 0.6237 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.005129, allocations: 29.7 kB / 0.6237 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.005178, allocations: 112.2 kB / 0.6238 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.005196, allocations: 31.78 kB / 0.6239 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.005245, allocations: 49.69 kB / 0.6239 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.005313, allocations: 326.8 kB / 0.6242 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.0054, allocations: 73.67 kB / 0.6243 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.005513, allocations: 164.8 kB / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.00568, allocations: 200.6 kB / 0.6246 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.005681, allocations: 0 / 0.6246 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002568/0.005938, allocations: 280.6 kB / 0.6249 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.00596, allocations: 37.7 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.005964, allocations: 4 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.005973, allocations: 12.38 kB / 0.625 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.965e-05/0.006023, allocations: 19.98 kB / 0.625 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.00603, allocations: 11.92 kB / 0.625 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.006135, allocations: 39.86 kB / 0.625 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.006147, allocations: 12 kB / 0.625 GB, free: 7.016 MB / 0.5886 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.282e-05/0.00621, allocations: 131.1 kB / 0.6252 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.00622, allocations: 11.95 kB / 0.6252 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.006243, allocations: 12.78 kB / 0.6252 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006245, allocations: 7.938 kB / 0.6252 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.006247, allocations: 3.938 kB / 0.6252 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006251, allocations: 3.984 kB / 0.6252 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.006532, allocations: 341.9 kB / 0.6255 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006533, allocations: 0 / 0.6255 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.006574, allocations: 15.98 kB / 0.6255 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006576, allocations: 0 / 0.6255 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.006582, allocations: 0 / 0.6255 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006583, allocations: 4 kB / 0.6255 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006583, allocations: 0 / 0.6255 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.006785, allocations: 247.3 kB / 0.6258 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.006793, allocations: 7.953 kB / 0.6258 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.006803, allocations: 4 kB / 0.6258 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.006844, allocations: 8.031 kB / 0.6258 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.006866, allocations: 11.98 kB / 0.6258 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.006871, allocations: 3.938 kB / 0.6258 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.006913, allocations: 116.8 kB / 0.6259 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006913, allocations: 0 / 0.6259 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001759/0.007089, allocations: 28 kB / 0.626 GB, free: 6.012 MB / 0.5886 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 8.3e-05/0.007172, allocations: 114.6 kB / 0.6261 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.007376, allocations: 197.5 kB / 0.6263 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.007377, allocations: 4.125 kB / 0.6263 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.00743, allocations: 35.91 kB / 0.6263 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.007596, allocations: 27.64 kB / 0.6263 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.007899, allocations: 259.5 kB / 0.6266 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.937e-05/0.007948, allocations: 97.75 kB / 0.6267 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.007971, allocations: 24.48 kB / 0.6267 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of SimCode: time 3.31e-07/0.007971, allocations: 0 / 0.6267 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of Templates: time 0.001873/0.009844, allocations: 1.779 MB / 0.6284 GB, free: 3.438 MB / 0.5886 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.818143497221172] Failed to read output from testmodel.py, exit status != 0: 0.013293556869029999 0.021158478 0.016394371 Calling exit ...