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.00106/0.00106, allocations: 93.06 kB / 19.65 MB, free: 276 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.001529/0.001529, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9804/0.9804, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8137/0.8137, allocations: 154.9 MB / 414.8 MB, free: 392 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 1.954e-06/1.954e-06, allocations: 0 / 0.5207 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.396e-05, allocations: 3.078 kB / 0.5207 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002824/0.002848, allocations: 1.842 MB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003869, allocations: 0.5582 MB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.003975, allocations: 4.562 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.004118, allocations: 33.34 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.004191, allocations: 23.69 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.004419, allocations: 72.78 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.004632, allocations: 175.5 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.004755, allocations: 29.78 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.00487, allocations: 80.7 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.004936, allocations: 43.81 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.004964, allocations: 9.188 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.004982, allocations: 15.94 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.00507, allocations: 27.84 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.005118, allocations: 35.92 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.005278, allocations: 104.3 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005281, allocations: 0 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.005281, allocations: 4.469 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.005285, allocations: 4.844 kB / 0.5237 GB, free: 14.71 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.0005639/0.005849, allocations: 0.5076 MB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.005884, allocations: 8.531 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.005943, allocations: 28.8 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.006162, allocations: 184.1 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.006178, allocations: 12.38 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.006211, allocations: 20.34 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.006427, allocations: 152.5 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006437, allocations: 192 / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.006451, allocations: 4.375 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.006461, allocations: 7.938 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.006537, allocations: 42.11 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.007448, allocations: 0.8869 MB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.007527, allocations: 39.92 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.00756, allocations: 15.69 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.007578, allocations: 5.562 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.007714, allocations: 115.8 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.007716, allocations: 3.938 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002541/0.00797, allocations: 114.4 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.00803, allocations: 140.4 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.008193, allocations: 237.1 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.008213, allocations: 33.7 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.0083, allocations: 174.7 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.008333, allocations: 39.83 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.008395, allocations: 47.36 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.008529, allocations: 0.4962 MB / 0.5269 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.008571, allocations: 16.77 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.008681, allocations: 164 kB / 0.5271 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.008859, allocations: 217.7 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.008862, allocations: 0 / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002341/0.009096, allocations: 175.4 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.009119, allocations: 8 kB / 0.5274 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.009127, allocations: 4.781 kB / 0.5274 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.009144, allocations: 4 kB / 0.5274 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.009244, allocations: 33.05 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.009255, allocations: 11.92 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.722e-05/0.009352, allocations: 32.53 kB / 0.5275 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.009364, allocations: 11.44 kB / 0.5275 GB, free: 10.35 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 9.429e-05/0.009458, allocations: 164.6 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.009489, allocations: 27.78 kB / 0.5277 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.009523, allocations: 21.45 kB / 0.5277 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.009527, allocations: 4 kB / 0.5277 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.009531, allocations: 0 / 0.5277 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.009537, allocations: 4.234 kB / 0.5277 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.01001, allocations: 0.5042 MB / 0.5282 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01001, allocations: 6.938 kB / 0.5282 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.01008, allocations: 11.98 kB / 0.5283 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01008, allocations: 4 kB / 0.5283 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.0101, allocations: 0 / 0.5283 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.0101, allocations: 7.938 kB / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01011, allocations: 0 / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.0106, allocations: 402.2 kB / 0.5287 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.01061, allocations: 17.53 kB / 0.5287 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01064, allocations: 7.938 kB / 0.5287 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.01075, allocations: 7.984 kB / 0.5287 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.0108, allocations: 11.98 kB / 0.5287 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.01081, allocations: 6.438 kB / 0.5287 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.872e-05/0.0109, allocations: 177.7 kB / 0.5289 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0109, allocations: 0 / 0.5289 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003269/0.01122, allocations: 24 kB / 0.5289 GB, free: 8.887 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.0001031/0.01133, allocations: 103.1 kB / 0.529 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.0115, allocations: 90.77 kB / 0.5291 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0115, allocations: 0 / 0.5291 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.01156, allocations: 36.42 kB / 0.5291 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.01206, allocations: 68.59 kB / 0.5292 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.01255, allocations: 339.1 kB / 0.5295 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.0126, allocations: 75.98 kB / 0.5296 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.01266, allocations: 15.8 kB / 0.5296 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.0127, allocations: 20.5 kB / 0.5296 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of SimCode: time 6.22e-07/0.0127, allocations: 0 / 0.5296 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of Templates: time 0.006579/0.01928, allocations: 2.26 MB / 0.5318 GB, free: 5.973 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.771469966042787]