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.001084/0.001084, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001128/0.001128, allocations: 173 kB / 23.49 MB, free: 1.055 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.113/1.113, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.8957/0.8957, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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 2.074e-06/2.074e-06, allocations: 0 / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.887e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.00324/0.003269, allocations: 1.839 MB / 0.5221 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.004411, allocations: 0.5551 MB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.004546, allocations: 7.938 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.00471, allocations: 24.61 kB / 0.5227 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.004798, allocations: 25.16 kB / 0.5227 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.005073, allocations: 71.86 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.005339, allocations: 179.3 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.005517, allocations: 30.95 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.005677, allocations: 79.8 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.005758, allocations: 35.88 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.005794, allocations: 12.72 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.005816, allocations: 12 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.005857, allocations: 33.12 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.005924, allocations: 39.86 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.006128, allocations: 103.5 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.006131, allocations: 0 / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.006131, allocations: 1.344 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.006137, allocations: 0 / 0.5233 GB, free: 15.46 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.0007912/0.006928, allocations: 0.5116 MB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.006976, allocations: 12.03 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.007057, allocations: 30.64 kB / 0.5238 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.007368, allocations: 180.2 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.007389, allocations: 10.34 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.007429, allocations: 16.36 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.007721, allocations: 152.7 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.007732, allocations: 4.188 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.007748, allocations: 384 / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.007762, allocations: 9.406 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.007862, allocations: 39.91 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000906/0.008769, allocations: 0.8868 MB / 0.5251 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.008855, allocations: 40.34 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.008896, allocations: 19.61 kB / 0.5252 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.008916, allocations: 0 / 0.5252 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.009091, allocations: 120.3 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.009092, allocations: 0.5 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0003067/0.009399, allocations: 118.5 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.009476, allocations: 137.7 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.009677, allocations: 239.6 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.009697, allocations: 25.7 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.009803, allocations: 178.2 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.009845, allocations: 49.61 kB / 0.526 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.009913, allocations: 43.36 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.01006, allocations: 0.4962 MB / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.01013, allocations: 20.17 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.01026, allocations: 172.2 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.01042, allocations: 210.7 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01042, allocations: 4 kB / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000192/0.01061, allocations: 176.6 kB / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.01063, allocations: 4.938 kB / 0.5271 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01063, allocations: 4 kB / 0.5271 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01065, allocations: 8 kB / 0.5271 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.01073, allocations: 38.89 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01074, allocations: 4 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.01081, allocations: 19.88 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.01082, allocations: 12 kB / 0.5272 GB, free: 11.11 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.367e-05/0.0109, allocations: 168.5 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01093, allocations: 27.84 kB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.01096, allocations: 24.2 kB / 0.5274 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01096, allocations: 0 / 0.5274 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01097, allocations: 4 kB / 0.5274 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01097, allocations: 0 / 0.5274 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.01137, allocations: 0.5042 MB / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01137, allocations: 3.938 kB / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.01142, allocations: 19.98 kB / 0.5279 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01143, allocations: 0.5625 kB / 0.5279 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.01144, allocations: 5.562 kB / 0.5279 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01144, allocations: 0 / 0.5279 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01144, allocations: 0 / 0.5279 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.01168, allocations: 409.5 kB / 0.5283 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.01169, allocations: 13.19 kB / 0.5283 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.01171, allocations: 8 kB / 0.5283 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.01179, allocations: 7.984 kB / 0.5283 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.01183, allocations: 12.64 kB / 0.5283 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.01184, allocations: 7.938 kB / 0.5283 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.01191, allocations: 173.8 kB / 0.5285 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01191, allocations: 0 / 0.5285 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002315/0.01214, allocations: 28.5 kB / 0.5285 GB, free: 9.645 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 9.412e-05/0.01224, allocations: 112.1 kB / 0.5286 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.01238, allocations: 82.3 kB / 0.5287 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01239, allocations: 4 kB / 0.5287 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.01244, allocations: 41.25 kB / 0.5288 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.01281, allocations: 77.36 kB / 0.5288 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.01326, allocations: 338.5 kB / 0.5292 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.01331, allocations: 68 kB / 0.5292 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.06e-05/0.01336, allocations: 24.06 kB / 0.5292 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.0134, allocations: 16.5 kB / 0.5293 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.0134, allocations: 0 / 0.5293 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of Templates: time 0.004201/0.0176, allocations: 2.124 MB / 0.5313 GB, free: 6.836 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: 4.024026317987591]