Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001128/0.001128, 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.00131/0.00131, allocations: 169 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.9838/0.9838, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8074/0.8074, allocations: 154.6 MB / 414.5 MB, free: 0.6719 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.222e-05, allocations: 6.875 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002877/0.002909, allocations: 1.844 MB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.003859, allocations: 0.5509 MB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.003959, allocations: 7.938 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.0041, allocations: 27.67 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.00418, allocations: 29.06 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.004407, allocations: 72.34 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.004638, allocations: 171.4 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004766, allocations: 34.53 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.004889, allocations: 83.78 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.004958, allocations: 41.3 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.004985, allocations: 12 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.753e-05/0.005003, allocations: 11.94 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.005035, allocations: 27.91 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.005086, allocations: 41.19 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.005248, allocations: 103.6 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.005251, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005252, allocations: 7.469 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.005258, allocations: 0 / 0.5233 GB, free: 15.14 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.0007806/0.006039, allocations: 0.507 MB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.006075, allocations: 8.031 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.00614, allocations: 32.8 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.006377, allocations: 176.8 kB / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.006394, allocations: 8.375 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.006428, allocations: 12.94 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.006668, allocations: 161.6 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.006678, allocations: 192 / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.006693, allocations: 8.375 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.006704, allocations: 5.406 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.006794, allocations: 35.91 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007868/0.007581, allocations: 0.8874 MB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.007656, allocations: 42.98 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.007694, allocations: 17.38 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.007714, allocations: 0 / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.007859, allocations: 115.8 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.00786, allocations: 0 / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002634/0.008123, allocations: 116.3 kB / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.008184, allocations: 144.4 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.008351, allocations: 235.6 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.008369, allocations: 29.7 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.008462, allocations: 186.4 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.008497, allocations: 35.69 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.00856, allocations: 50.11 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.008697, allocations: 0.4962 MB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.008749, allocations: 15.98 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.008881, allocations: 165.5 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.009076, allocations: 210.7 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.00908, allocations: 4.938 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002635/0.009344, allocations: 175.1 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.009361, allocations: 8 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.00937, allocations: 8.031 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.009389, allocations: 7.984 kB / 0.5271 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.009503, allocations: 39.86 kB / 0.5271 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.009517, allocations: 15.92 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.00962, allocations: 19.89 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.009632, allocations: 8 kB / 0.5272 GB, free: 10.79 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.732e-05/0.00973, allocations: 174.3 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.009768, allocations: 23.78 kB / 0.5273 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.009807, allocations: 25.45 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.00981, allocations: 3.438 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.009815, allocations: 4 kB / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.009819, allocations: 0 / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.01036, allocations: 0.5081 MB / 0.5279 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01036, allocations: 0 / 0.5279 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.01044, allocations: 12 kB / 0.5279 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01044, allocations: 0 / 0.5279 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01046, allocations: 3.984 kB / 0.5279 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01046, allocations: 7.938 kB / 0.5279 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01046, allocations: 3.438 kB / 0.5279 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.0108, allocations: 398.2 kB / 0.5283 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.01083, allocations: 19.89 kB / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.01085, allocations: 7.938 kB / 0.5283 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.01127, allocations: 8 kB / 0.5283 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.01132, allocations: 15.97 kB / 0.5283 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.01133, allocations: 4 kB / 0.5283 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001012/0.01143, allocations: 172.9 kB / 0.5285 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01143, allocations: 3 kB / 0.5285 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003726/0.0118, allocations: 28 kB / 0.5285 GB, free: 9.32 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.0001027/0.01191, allocations: 107.1 kB / 0.5286 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.01209, allocations: 87.42 kB / 0.5287 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01209, allocations: 0 / 0.5287 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.01216, allocations: 42.56 kB / 0.5288 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.01269, allocations: 66.47 kB / 0.5288 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.01326, allocations: 338.4 kB / 0.5291 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.01332, allocations: 71.98 kB / 0.5292 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.154e-05/0.01338, allocations: 19.78 kB / 0.5292 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.01342, allocations: 20.5 kB / 0.5292 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01342, allocations: 0.6562 kB / 0.5292 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of Templates: time 0.005122/0.01854, allocations: 2.125 MB / 0.5313 GB, free: 6.527 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8895198721438646]