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.001518/0.001518, allocations: 92.7 kB / 19.44 MB, free: 324 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.001568/0.001568, allocations: 161.3 kB / 22.76 MB, free: 1.656 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.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.208/1.208, allocations: 154.8 MB / 414.3 MB, free: 472 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 178] 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.923e-06/1.923e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.471e-05/3.663e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003216/0.003253, allocations: 1.785 MB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004409, allocations: 0.5439 MB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.004509, allocations: 7.938 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.004657, allocations: 29.12 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.004738, allocations: 31.67 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.004968, allocations: 69.19 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.005223, allocations: 175.5 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.00535, allocations: 25.8 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.005491, allocations: 81.05 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.005573, allocations: 47.81 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.005601, allocations: 8 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.211e-05/0.005623, allocations: 14.75 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.005664, allocations: 27.84 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.005731, allocations: 39.86 kB / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.005959, allocations: 135.4 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.005962, allocations: 0 / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005963, allocations: 0 / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005967, allocations: 0 / 0.5228 GB, free: 15.29 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.0008322/0.0068, allocations: 432.5 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.006841, allocations: 12.03 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.006939, allocations: 34.42 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.007279, allocations: 177.4 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.0073, allocations: 9.312 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.007345, allocations: 16.38 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.007676, allocations: 151.3 kB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007686, allocations: 192 / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.007705, allocations: 4.359 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.007712, allocations: 9.094 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.007961, allocations: 76.56 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.009074, allocations: 0.6545 MB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.009236, allocations: 47.7 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.009344, allocations: 32.84 kB / 0.5244 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.009367, allocations: 0.625 kB / 0.5244 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.00962, allocations: 127.1 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.009621, allocations: 0 / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0005327/0.01015, allocations: 172.6 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.01027, allocations: 136.5 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.01048, allocations: 191.4 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.0105, allocations: 25.7 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.01061, allocations: 131.9 kB / 0.5251 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.01066, allocations: 43.89 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.01074, allocations: 41.64 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.01093, allocations: 329.6 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01106, allocations: 39.97 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.01127, allocations: 137.4 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.01163, allocations: 213 kB / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01164, allocations: 0 / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004401/0.01208, allocations: 211.5 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01209, allocations: 12.5 kB / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.0121, allocations: 7.984 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.01213, allocations: 4 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01227, allocations: 39.91 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.01228, allocations: 4 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.01242, allocations: 28.91 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.01244, allocations: 12 kB / 0.5262 GB, free: 11.48 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.0001304/0.01257, allocations: 130.7 kB / 0.5263 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.01261, allocations: 31.83 kB / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.01267, allocations: 19.03 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01267, allocations: 0 / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01268, allocations: 4 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01268, allocations: 3.938 kB / 0.5264 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.01346, allocations: 450.8 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.01347, allocations: 4.719 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.0136, allocations: 20.83 kB / 0.5268 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.01361, allocations: 4 kB / 0.5268 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01362, allocations: 1.562 kB / 0.5268 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.01362, allocations: 4 kB / 0.5269 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01363, allocations: 3.938 kB / 0.5269 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.01421, allocations: 366.9 kB / 0.5272 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.01424, allocations: 20.59 kB / 0.5272 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.01427, allocations: 8 kB / 0.5272 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.01444, allocations: 12.58 kB / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.0145, allocations: 17.05 kB / 0.5273 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.01452, allocations: 7.984 kB / 0.5273 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001314/0.01465, allocations: 129.9 kB / 0.5274 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01465, allocations: 0.9375 kB / 0.5274 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003443/0.01499, allocations: 28 kB / 0.5274 GB, free: 10.19 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.0001524/0.01515, allocations: 104.1 kB / 0.5275 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.0155, allocations: 115.3 kB / 0.5276 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0155, allocations: 0 / 0.5276 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.01565, allocations: 50.78 kB / 0.5277 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.01624, allocations: 66.72 kB / 0.5277 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.01695, allocations: 331.4 kB / 0.5281 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.01707, allocations: 115.2 kB / 0.5282 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.284e-05/0.01714, allocations: 18.48 kB / 0.5282 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.0172, allocations: 24.5 kB / 0.5282 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of SimCode: time 4.4e-07/0.0172, allocations: 1.281 kB / 0.5282 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of Templates: time 0.005898/0.0231, allocations: 2.119 MB / 0.5303 GB, free: 7.34 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.771516337990761]