Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001094/0.001094, allocations: 195 kB / 17.98 MB, free: 5.027 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.27/1.27, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7003/0.7003, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3485, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002775/0.3514, allocations: 1.758 MB / 0.5593 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3528, allocations: 1.103 MB / 0.5604 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.3529, allocations: 6.188 kB / 0.5604 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.3531, allocations: 53.62 kB / 0.5604 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.3534, allocations: 75.25 kB / 0.5605 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.3539, allocations: 227.2 kB / 0.5607 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.3541, allocations: 146.2 kB / 0.5608 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.3542, allocations: 23.98 kB / 0.5609 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.3543, allocations: 66.62 kB / 0.5609 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.3544, allocations: 63.2 kB / 0.561 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3544, allocations: 7.562 kB / 0.561 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3546, allocations: 75.95 kB / 0.5611 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.3547, allocations: 38.83 kB / 0.5611 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.3547, allocations: 58.72 kB / 0.5612 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.355, allocations: 205.1 kB / 0.5614 GB, free: 34.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.355, allocations: 1.906 kB / 0.5614 GB, free: 34.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.355, allocations: 0 / 0.5614 GB, free: 34.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3551, allocations: 0 / 0.5614 GB, free: 34.17 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005399/0.3556, allocations: 484.3 kB / 0.5618 GB, free: 33.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3556, allocations: 13.5 kB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.3557, allocations: 17.45 kB / 0.5619 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.356, allocations: 251.5 kB / 0.5621 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.356, allocations: 5.656 kB / 0.5621 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.356, allocations: 12.3 kB / 0.5621 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.3562, allocations: 94.66 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3562, allocations: 2.281 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3562, allocations: 0 / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3563, allocations: 3.422 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3564, allocations: 40.81 kB / 0.5622 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.3568, allocations: 357.6 kB / 0.5626 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.357, allocations: 87.73 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.236e-05/0.3571, allocations: 32.52 kB / 0.5627 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3571, allocations: 0.8438 kB / 0.5627 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.3573, allocations: 85.52 kB / 0.5628 GB, free: 32.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.3573, allocations: 0 / 0.5628 GB, free: 32.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003235/0.3576, allocations: 144.4 kB / 0.5629 GB, free: 32.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3577, allocations: 104.9 kB / 0.563 GB, free: 32.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.3579, allocations: 266.3 kB / 0.5633 GB, free: 32.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3579, allocations: 30.98 kB / 0.5633 GB, free: 32.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.358, allocations: 112.4 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.358, allocations: 24.97 kB / 0.5634 GB, free: 32.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.3581, allocations: 25.8 kB / 0.5635 GB, free: 32.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.3581, allocations: 334.2 kB / 0.5638 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.3582, allocations: 27.78 kB / 0.5638 GB, free: 32.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.3583, allocations: 67.38 kB / 0.5639 GB, free: 32.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3584, allocations: 72.61 kB / 0.5639 GB, free: 31.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3584, allocations: 0 / 0.5639 GB, free: 31.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.3586, allocations: 114.5 kB / 0.5641 GB, free: 31.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3587, allocations: 10.83 kB / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3587, allocations: 0 / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3587, allocations: 2.156 kB / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.3588, allocations: 20.38 kB / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3588, allocations: 2.719 kB / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.3589, allocations: 7.375 kB / 0.5641 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.3589, allocations: 5.484 kB / 0.5641 GB, free: 31.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.229e-05/0.359, allocations: 141.9 kB / 0.5642 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.359, allocations: 15.92 kB / 0.5642 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.3591, allocations: 18.8 kB / 0.5643 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3591, allocations: 2.969 kB / 0.5643 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3591, allocations: 5.641 kB / 0.5643 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3591, allocations: 5.453 kB / 0.5643 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3592, allocations: 223.4 kB / 0.5645 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3592, allocations: 0 / 0.5645 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.3593, allocations: 6.938 kB / 0.5645 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3593, allocations: 0.6875 kB / 0.5645 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3593, allocations: 5.578 kB / 0.5645 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3593, allocations: 5.469 kB / 0.5645 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3593, allocations: 1.094 kB / 0.5645 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3595, allocations: 147.9 kB / 0.5647 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3596, allocations: 96.64 kB / 0.5647 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3596, allocations: 2.609 kB / 0.5647 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.3597, allocations: 3.938 kB / 0.5648 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3597, allocations: 11.23 kB / 0.5648 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.3598, allocations: 8.141 kB / 0.5648 GB, free: 31.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.3599, allocations: 197.8 kB / 0.565 GB, free: 31.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3599, allocations: 0 / 0.565 GB, free: 31.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3602, allocations: 37.36 kB / 0.565 GB, free: 31.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008929/0.3611, allocations: 423.7 kB / 0.5654 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3613, allocations: 73.31 kB / 0.5655 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3613, allocations: 2.312 kB / 0.5655 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.3614, allocations: 37.56 kB / 0.5655 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3617, allocations: 40.67 kB / 0.5655 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.3621, allocations: 300.9 kB / 0.5658 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3623, allocations: 0.722 MB / 0.5665 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.3624, allocations: 25.2 kB / 0.5666 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.3624, allocations: 19.94 kB / 0.5666 GB, free: 30.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3624, allocations: 0.5 kB / 0.5666 GB, free: 30.11 MB / 446.1 MB Notification: Performance of Templates: time 0.006025/0.3685, allocations: 2.54 MB / 0.5691 GB, free: 29.91 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)