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.001015/0.001015, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001088/0.001088, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8854/0.8854, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.663e-06/1.663e-06, allocations: 0 / 480.1 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.214e-05, allocations: 4.281 kB / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002532/0.002564, allocations: 1.873 MB / 481.9 MB, free: 5.023 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009061/0.00347, allocations: 0.5699 MB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.003563, allocations: 7.875 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.003706, allocations: 27.05 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.003777, allocations: 31.03 kB / 482.6 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.003985, allocations: 72.06 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.004186, allocations: 172.1 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.004322, allocations: 38.42 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.004453, allocations: 83.73 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.004515, allocations: 43.81 kB / 483 MB, free: 4.008 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.004537, allocations: 8 kB / 483 MB, free: 4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.004552, allocations: 12.66 kB / 483 MB, free: 3.988 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.004579, allocations: 28.75 kB / 483 MB, free: 3.961 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.004618, allocations: 39.91 kB / 483.1 MB, free: 3.922 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.004757, allocations: 103.5 kB / 483.2 MB, free: 3.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00476, allocations: 0.9375 kB / 483.2 MB, free: 3.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004761, allocations: 4 kB / 483.2 MB, free: 3.816 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.004765, allocations: 1.156 kB / 483.2 MB, free: 3.816 MB / 442.7 MB 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.0004421/0.005208, allocations: 363.2 kB / 483.5 MB, free: 3.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.005239, allocations: 8.656 kB / 483.5 MB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.005278, allocations: 25.55 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.005471, allocations: 166.7 kB / 483.7 MB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.005484, allocations: 14.02 kB / 483.7 MB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.005509, allocations: 16.31 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.005661, allocations: 131.8 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.00567, allocations: 1.031 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005681, allocations: 4.375 kB / 483.9 MB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005687, allocations: 9.188 kB / 483.9 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/0.005732, allocations: 31.88 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.006253, allocations: 0.574 MB / 484.5 MB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.463e-05/0.006307, allocations: 22.58 kB / 484.5 MB, free: 2.367 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.006331, allocations: 21.84 kB / 484.5 MB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.006347, allocations: 4 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.006458, allocations: 99.69 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/0.00646, allocations: 1.312 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001661/0.006626, allocations: 85.58 kB / 484.7 MB, free: 2.129 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003302/0.006956, allocations: 137 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.007063, allocations: 188.2 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.007078, allocations: 35.06 kB / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.007139, allocations: 120.6 kB / 485.2 MB, free: 1.609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.007162, allocations: 43.66 kB / 485.2 MB, free: 1.566 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.007207, allocations: 50.69 kB / 485.3 MB, free: 1.512 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.007288, allocations: 326.8 kB / 485.6 MB, free: 1.184 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.00731, allocations: 11.98 kB / 485.6 MB, free: 1.172 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.007384, allocations: 125.5 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.007502, allocations: 155.2 kB / 485.9 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.007506, allocations: 5.5 kB / 485.9 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001405/0.007646, allocations: 136.3 kB / 486 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.007661, allocations: 7.938 kB / 486 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.007667, allocations: 4 kB / 486 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.007683, allocations: 8.938 kB / 486 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.00777, allocations: 35.92 kB / 486.1 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.007777, allocations: 9.344 kB / 486.1 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.007843, allocations: 23.88 kB / 486.1 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.007852, allocations: 8 kB / 486.1 MB, free: 0.5703 MB / 442.7 MB 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.977e-05/0.007932, allocations: 126.4 kB / 486.2 MB, free: 448 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.00795, allocations: 15.98 kB / 486.3 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.007993, allocations: 26.02 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007996, allocations: 1.906 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.007999, allocations: 0 / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.008004, allocations: 4 kB / 486.3 MB, free: 396 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.008459, allocations: 346 kB / 486.6 MB, free: 24 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.008461, allocations: 0 / 486.6 MB, free: 24 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.008525, allocations: 22 kB / 486.6 MB, free: 4 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.008549, allocations: 8.047 kB / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.008559, allocations: 0 / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.008562, allocations: 0 / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.008564, allocations: 4.312 kB / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.008752, allocations: 280.8 kB / 486.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.008777, allocations: 23.84 kB / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.008793, allocations: 0 / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.008873, allocations: 15.98 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.00891, allocations: 9.141 kB / 487 MB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.008918, allocations: 8 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.008957, allocations: 52.52 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008957, allocations: 0.75 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.009174, allocations: 31.94 kB / 487.1 MB, free: 15.56 MB / 458.7 MB 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.0001249/0.009299, allocations: 82.28 kB / 487.2 MB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.009463, allocations: 74.3 kB / 487.2 MB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.009468, allocations: 2.125 kB / 487.2 MB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.00953, allocations: 36.77 kB / 487.3 MB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.009915, allocations: 76.45 kB / 487.3 MB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.01036, allocations: 332.2 kB / 487.7 MB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.01041, allocations: 72.77 kB / 487.7 MB, free: 14.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.18e-05/0.01046, allocations: 16.16 kB / 487.8 MB, free: 14.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.01055, allocations: 80.8 kB / 487.8 MB, free: 14.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01055, allocations: 0 / 487.8 MB, free: 14.75 MB / 458.7 MB Notification: Performance of Templates: time 0.00434/0.01489, allocations: 2.203 MB / 490 MB, free: 12.73 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7473182631656528]