Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.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.001118/0.001118, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001242/0.001242, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.621 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-535:34: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-535:42: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.8388/0.8388, allocations: 154.8 MB / 415.1 MB, free: 484 kB / 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0.5469 kB / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.816e-05/4.083e-05, allocations: 6.922 kB / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.004187/0.004227, allocations: 1.844 MB / 0.5224 GB, free: 420 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.005477, allocations: 0.5544 MB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.005612, allocations: 7.938 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.005775, allocations: 27.67 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.142e-05/0.005866, allocations: 31.72 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.006139, allocations: 63.86 kB / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.006431, allocations: 179.3 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.006584, allocations: 33.78 kB / 0.5233 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.00673, allocations: 76.36 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.006805, allocations: 36.45 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.006843, allocations: 12 kB / 0.5234 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.006861, allocations: 12.81 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.006904, allocations: 35.89 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.00697, allocations: 37.31 kB / 0.5235 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.007168, allocations: 103.5 kB / 0.5236 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.007173, allocations: 0 / 0.5236 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.007174, allocations: 0 / 0.5236 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.00718, allocations: 0.9375 kB / 0.5236 GB, free: 15.21 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007185/0.007898, allocations: 0.512 MB / 0.5241 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.007942, allocations: 8.031 kB / 0.5241 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/0.008027, allocations: 32.8 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.008318, allocations: 181.6 kB / 0.5243 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.008337, allocations: 9.188 kB / 0.5243 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.008373, allocations: 12.38 kB / 0.5243 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.008646, allocations: 153.9 kB / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.008657, allocations: 192 / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.008677, allocations: 8.375 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.008689, allocations: 9.219 kB / 0.5245 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.008791, allocations: 37.64 kB / 0.5245 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.009764, allocations: 0.8905 MB / 0.5254 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.009853, allocations: 36.75 kB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.009897, allocations: 23.67 kB / 0.5254 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.009918, allocations: 0 / 0.5254 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.0101, allocations: 118.4 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.0101, allocations: 0 / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0003211/0.01042, allocations: 117.4 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.01049, allocations: 132.5 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.01069, allocations: 243 kB / 0.526 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01071, allocations: 25.7 kB / 0.526 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.01083, allocations: 185.5 kB / 0.5262 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.01086, allocations: 31.7 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.01094, allocations: 51.36 kB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.01109, allocations: 0.4962 MB / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.01116, allocations: 16 kB / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.01129, allocations: 171.3 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.01151, allocations: 212 kB / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.01151, allocations: 4 kB / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002821/0.0118, allocations: 169.6 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.01182, allocations: 11.94 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01182, allocations: 4 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01184, allocations: 4 kB / 0.5273 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01196, allocations: 30.86 kB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.01198, allocations: 15.92 kB / 0.5274 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.01209, allocations: 19.89 kB / 0.5274 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01211, allocations: 8 kB / 0.5274 GB, free: 10.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 0.000115/0.01222, allocations: 172.5 kB / 0.5276 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.01226, allocations: 27.83 kB / 0.5276 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.0123, allocations: 18.16 kB / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.01231, allocations: 3.938 kB / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01231, allocations: 5.281 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01232, allocations: 0 / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.0129, allocations: 0.5085 MB / 0.5281 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01291, allocations: 5.25 kB / 0.5281 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.013, allocations: 19.92 kB / 0.5281 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.013, allocations: 0 / 0.5281 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.01302, allocations: 9.594 kB / 0.5281 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01303, allocations: 0 / 0.5281 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01303, allocations: 0 / 0.5281 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.01339, allocations: 404.3 kB / 0.5285 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.01342, allocations: 16.56 kB / 0.5286 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.01345, allocations: 0.6562 kB / 0.5286 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.01359, allocations: 15.98 kB / 0.5286 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.01366, allocations: 12.5 kB / 0.5286 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.01368, allocations: 12.59 kB / 0.5286 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001178/0.01379, allocations: 165.7 kB / 0.5287 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01379, allocations: 1.5 kB / 0.5287 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004113/0.01421, allocations: 28 kB / 0.5288 GB, free: 9.398 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001588/0.01436, allocations: 115.6 kB / 0.5289 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.01458, allocations: 81 kB / 0.529 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01458, allocations: 0 / 0.529 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.01466, allocations: 40.55 kB / 0.529 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.01529, allocations: 68.2 kB / 0.5291 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.01601, allocations: 337.5 kB / 0.5294 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.905e-05/0.01609, allocations: 71.98 kB / 0.5295 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.801e-05/0.01617, allocations: 17.61 kB / 0.5295 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.01623, allocations: 20.5 kB / 0.5295 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.01623, allocations: 0 / 0.5295 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.005692/0.02192, allocations: 2.126 MB / 0.5316 GB, free: 6.598 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.943405643105507]