Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 113.5 kB / 17.05 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001775, allocations: 192 kB / 17.99 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7668/0.7668, allocations: 115.3 MB / 407.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 65.31 kB / 0.5582 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1437, allocations: 76.17 MB / 0.6326 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002794/0.1465, allocations: 1.804 MB / 0.6344 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.1474, allocations: 0.5377 MB / 0.6349 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1475, allocations: 3.938 kB / 0.6349 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1477, allocations: 27.73 kB / 0.6349 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.1478, allocations: 31.72 kB / 0.635 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.148, allocations: 59.88 kB / 0.635 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1482, allocations: 171.5 kB / 0.6352 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1484, allocations: 53.58 kB / 0.6352 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.1485, allocations: 51.73 kB / 0.6353 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.1485, allocations: 67.62 kB / 0.6353 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1486, allocations: 8 kB / 0.6354 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.1486, allocations: 12 kB / 0.6354 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.1486, allocations: 27.91 kB / 0.6354 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.1487, allocations: 71.53 kB / 0.6355 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1489, allocations: 131.4 kB / 0.6356 GB, free: 1.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1489, allocations: 0 / 0.6356 GB, free: 1.379 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1489, allocations: 0 / 0.6356 GB, free: 1.379 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1489, allocations: 0 / 0.6356 GB, free: 1.379 MB / 478.1 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.0006839/0.1496, allocations: 478.7 kB / 0.636 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1497, allocations: 8.031 kB / 0.636 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.1497, allocations: 16.75 kB / 0.6361 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.15, allocations: 239.8 kB / 0.6363 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.15, allocations: 12.38 kB / 0.6363 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.1501, allocations: 12.38 kB / 0.6363 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.1504, allocations: 155.2 kB / 0.6365 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1504, allocations: 0 / 0.6365 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1505, allocations: 4 kB / 0.6365 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1505, allocations: 4 kB / 0.6365 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.1507, allocations: 75.88 kB / 0.6365 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.1517, allocations: 0.7352 MB / 0.6373 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1519, allocations: 50.56 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.152, allocations: 36.83 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.152, allocations: 0 / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.1522, allocations: 142.5 kB / 0.6375 GB, free: 15.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.1523, allocations: 0 / 0.6375 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004834/0.1527, allocations: 161.3 kB / 0.6376 GB, free: 15.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.1528, allocations: 132.5 kB / 0.6378 GB, free: 14.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.153, allocations: 203.2 kB / 0.638 GB, free: 14.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.153, allocations: 33.7 kB / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.1531, allocations: 127.8 kB / 0.6381 GB, free: 14.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.1532, allocations: 35.69 kB / 0.6381 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.1532, allocations: 49.61 kB / 0.6382 GB, free: 14.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1533, allocations: 326.8 kB / 0.6385 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1535, allocations: 39.97 kB / 0.6385 GB, free: 14.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.1536, allocations: 152.1 kB / 0.6387 GB, free: 13.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1539, allocations: 198.4 kB / 0.6389 GB, free: 13.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.154, allocations: 4 kB / 0.6389 GB, free: 13.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003624/0.1543, allocations: 209.4 kB / 0.6391 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1543, allocations: 8 kB / 0.6391 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1544, allocations: 4 kB / 0.6391 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1544, allocations: 4 kB / 0.6391 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1545, allocations: 31.92 kB / 0.6391 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1545, allocations: 7.938 kB / 0.6391 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.1547, allocations: 27.83 kB / 0.6392 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1547, allocations: 8 kB / 0.6392 GB, free: 13.32 MB / 494.1 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,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.0001116/0.1548, allocations: 151.4 kB / 0.6393 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1548, allocations: 16.05 kB / 0.6393 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.1549, allocations: 25.38 kB / 0.6393 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1549, allocations: 4 kB / 0.6394 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1549, allocations: 0 / 0.6394 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1549, allocations: 4 kB / 0.6394 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007/0.1556, allocations: 0.5093 MB / 0.6399 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1556, allocations: 0 / 0.6399 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1557, allocations: 19.92 kB / 0.6399 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1558, allocations: 4 kB / 0.6399 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1558, allocations: 0 / 0.6399 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1558, allocations: 3.938 kB / 0.6399 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1558, allocations: 8.25 kB / 0.6399 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.1563, allocations: 352.4 kB / 0.6402 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.1563, allocations: 96.83 kB / 0.6403 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1564, allocations: 8.031 kB / 0.6403 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1565, allocations: 19.98 kB / 0.6403 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.1566, allocations: 15.86 kB / 0.6404 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1566, allocations: 8 kB / 0.6404 GB, free: 11.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1567, allocations: 144.2 kB / 0.6405 GB, free: 11.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1567, allocations: 4 kB / 0.6405 GB, free: 11.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.157, allocations: 27.94 kB / 0.6405 GB, free: 11.8 MB / 494.1 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.0001195/0.1572, allocations: 107.2 kB / 0.6406 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.1575, allocations: 115.7 kB / 0.6407 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1575, allocations: 0 / 0.6407 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1576, allocations: 57.03 kB / 0.6408 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.1582, allocations: 66.34 kB / 0.6409 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/0.1588, allocations: 378.3 kB / 0.6412 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1591, allocations: 0.7281 MB / 0.6419 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.1591, allocations: 19.44 kB / 0.642 GB, free: 10.28 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1591, allocations: 0 / 0.642 GB, free: 10.28 MB / 494.1 MB Notification: Performance of Templates: time 0.003626/0.1628, allocations: 2.136 MB / 0.644 GB, free: 8.148 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)