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.001035/0.001035, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001004/0.001004, allocations: 169 kB / 23.27 MB, free: 1.223 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.005/1.005, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7944/0.7944, allocations: 154.9 MB / 415.1 MB, free: 248 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.743e-06/1.743e-06, allocations: 0 / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.473e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002253/0.002277, allocations: 1.825 MB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008067/0.003084, allocations: 0.5591 MB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.003184, allocations: 3.938 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.003318, allocations: 27.67 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.003375, allocations: 25.08 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.00356, allocations: 75.78 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.00372, allocations: 176.2 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003834, allocations: 35.62 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.003936, allocations: 79.8 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.003991, allocations: 35.88 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.004014, allocations: 8 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.004028, allocations: 15.94 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.004055, allocations: 33.84 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.004098, allocations: 35.86 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.004222, allocations: 99.56 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004224, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/0.004226, allocations: 4 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.004229, allocations: 3.938 kB / 0.5241 GB, free: 14.47 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.0004453/0.004674, allocations: 0.5162 MB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.004709, allocations: 8.031 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.004746, allocations: 29.77 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.004901, allocations: 177.2 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.004913, allocations: 13.38 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.004932, allocations: 12.38 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.00509, allocations: 148.5 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.005096, allocations: 0.6875 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.005106, allocations: 9.406 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.005112, allocations: 7.922 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.005154, allocations: 34.84 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.005711, allocations: 0.8609 MB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.005765, allocations: 50.92 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005784, allocations: 15.69 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.005803, allocations: 5.875 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.005906, allocations: 119.7 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.005908, allocations: 0 / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0001738/0.006082, allocations: 103 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.006131, allocations: 136.5 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.006239, allocations: 242.9 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.006253, allocations: 29.7 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.006324, allocations: 179.4 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.006348, allocations: 39.69 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.006393, allocations: 44.81 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.006508, allocations: 0.5001 MB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.006528, allocations: 12 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.00661, allocations: 168.5 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.006729, allocations: 206.1 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.006732, allocations: 0 / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001463/0.006878, allocations: 159 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.006892, allocations: 11.94 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.006898, allocations: 4.625 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.006908, allocations: 4 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.006985, allocations: 33.48 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.006991, allocations: 8 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.007051, allocations: 27.81 kB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.007059, allocations: 9.281 kB / 0.5279 GB, free: 10.19 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,intNoReset.trigger_internal,intDef.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 7.513e-05/0.007134, allocations: 172.6 kB / 0.5281 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.007155, allocations: 23.78 kB / 0.5281 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.007186, allocations: 22.11 kB / 0.5281 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.007189, allocations: 7.938 kB / 0.5281 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.007191, allocations: 0.8438 kB / 0.5281 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.007195, allocations: 4 kB / 0.5281 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.007532, allocations: 481.8 kB / 0.5286 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.007535, allocations: 5.688 kB / 0.5286 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.007584, allocations: 15.98 kB / 0.5286 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.007587, allocations: 0 / 0.5286 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.007598, allocations: 4.359 kB / 0.5286 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.007601, allocations: 6.375 kB / 0.5286 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.007605, allocations: 11.98 kB / 0.5286 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.007805, allocations: 390.3 kB / 0.529 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.007821, allocations: 15.84 kB / 0.529 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.007836, allocations: 8 kB / 0.529 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.00791, allocations: 11.92 kB / 0.529 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.007947, allocations: 18.48 kB / 0.529 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.007953, allocations: 3.938 kB / 0.529 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.008009, allocations: 169.7 kB / 0.5292 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.008009, allocations: 0 / 0.5292 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001996/0.008209, allocations: 28 kB / 0.5292 GB, free: 8.758 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 8.53e-05/0.008294, allocations: 100.1 kB / 0.5293 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.008398, allocations: 82.97 kB / 0.5294 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0084, allocations: 0 / 0.5294 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.008441, allocations: 38.67 kB / 0.5294 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.008765, allocations: 67.84 kB / 0.5295 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.009153, allocations: 341.5 kB / 0.5298 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.009196, allocations: 68 kB / 0.5299 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.009241, allocations: 13.48 kB / 0.5299 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.48e-05/0.009335, allocations: 113.4 kB / 0.53 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.009336, allocations: 0 / 0.53 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of Templates: time 0.003838/0.01317, allocations: 2.311 MB / 0.5323 GB, free: 5.719 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.7901735180057585]