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.001123/0.001123, allocations: 93.06 kB / 19.65 MB, free: 280 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.001443/0.001443, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9402/0.9402, 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.8925/0.8925, allocations: 154.8 MB / 414.7 MB, free: 0.4961 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.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.374e-06/2.374e-06, allocations: 0 / 0.5206 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.813e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002362/0.00239, allocations: 1.846 MB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003639, allocations: 0.5573 MB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.00373, allocations: 7.938 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.003864, allocations: 23.73 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.003929, allocations: 31.66 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.004137, allocations: 68.77 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.004331, allocations: 179.4 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.004472, allocations: 29.8 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.004575, allocations: 81.02 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.004637, allocations: 39.88 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.004662, allocations: 12 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.004678, allocations: 8.625 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.004708, allocations: 27.86 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.004757, allocations: 49.55 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.004903, allocations: 99.52 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004905, allocations: 0 / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.72e-07/0.004906, allocations: 0 / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.004914, allocations: 0 / 0.5235 GB, free: 14.93 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.0005484/0.005463, allocations: 0.5122 MB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.005501, allocations: 8.719 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.005556, allocations: 36.8 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.005759, allocations: 185.4 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005773, allocations: 9.094 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.005804, allocations: 12.38 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.006003, allocations: 153 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.006011, allocations: 0.75 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.006025, allocations: 13.52 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.006035, allocations: 7.938 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.006097, allocations: 28.7 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.006789, allocations: 0.8904 MB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.562e-05/0.006854, allocations: 38.41 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.006893, allocations: 19.67 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.006914, allocations: 3.938 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.007043, allocations: 119.7 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.007044, allocations: 0 / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002273/0.007272, allocations: 113.4 kB / 0.5256 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.007327, allocations: 137.2 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.007464, allocations: 239 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.007483, allocations: 30.27 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.007573, allocations: 174.7 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.0076, allocations: 40.62 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.007647, allocations: 43.36 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.00777, allocations: 0.4978 MB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.007804, allocations: 15.98 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.007913, allocations: 173.4 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.008062, allocations: 211.6 kB / 0.5271 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.008066, allocations: 4.625 kB / 0.5271 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001846/0.008251, allocations: 181.5 kB / 0.5273 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.008263, allocations: 4 kB / 0.5273 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.008271, allocations: 7.984 kB / 0.5273 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.008292, allocations: 8 kB / 0.5273 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.008369, allocations: 29.92 kB / 0.5274 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.008376, allocations: 8 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.00844, allocations: 23.88 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.008449, allocations: 8 kB / 0.5274 GB, free: 10.58 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 8.337e-05/0.008532, allocations: 173.5 kB / 0.5276 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.008554, allocations: 23.84 kB / 0.5276 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.008589, allocations: 21.45 kB / 0.5276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008591, allocations: 0.7188 kB / 0.5276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.008597, allocations: 4 kB / 0.5276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008601, allocations: 0.6562 kB / 0.5276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.008987, allocations: 0.5155 MB / 0.5281 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.008989, allocations: 64 / 0.5281 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.009042, allocations: 23.92 kB / 0.5281 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009045, allocations: 0 / 0.5281 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.009061, allocations: 4 kB / 0.5281 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009062, allocations: 0 / 0.5281 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009063, allocations: 0 / 0.5281 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.009285, allocations: 402.2 kB / 0.5285 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.0093, allocations: 19.03 kB / 0.5285 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.009317, allocations: 4 kB / 0.5285 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.009389, allocations: 11.98 kB / 0.5286 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.009439, allocations: 11.98 kB / 0.5286 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.009447, allocations: 7.984 kB / 0.5286 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.676e-05/0.009514, allocations: 165.7 kB / 0.5287 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009514, allocations: 0 / 0.5287 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002058/0.00972, allocations: 31.94 kB / 0.5288 GB, free: 9.109 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.143e-05/0.009801, allocations: 112.9 kB / 0.5289 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.009937, allocations: 82.31 kB / 0.5289 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.00994, allocations: 4 kB / 0.529 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.009985, allocations: 35.61 kB / 0.529 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.01033, allocations: 67.2 kB / 0.5291 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.01081, allocations: 341.5 kB / 0.5294 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.01087, allocations: 71.98 kB / 0.5294 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.826e-05/0.01092, allocations: 21.59 kB / 0.5295 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.01096, allocations: 22.97 kB / 0.5295 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01096, allocations: 0 / 0.5295 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of Templates: time 0.004433/0.0154, allocations: 2.12 MB / 0.5316 GB, free: 6.305 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.934767787810415]