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.001034/0.001034, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009813/0.0009815, allocations: 173.3 kB / 16.58 MB, free: 6.852 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.336/1.336, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7109/0.7109, allocations: 115.5 MB / 407.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 12 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 77.53 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.001989/0.1384, allocations: 1.452 MB / 0.5607 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.14, allocations: 1.003 MB / 0.5617 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.1401, allocations: 3.938 kB / 0.5617 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1404, allocations: 51.86 kB / 0.5618 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.1406, allocations: 63.75 kB / 0.5618 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.1412, allocations: 188.2 kB / 0.562 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1413, allocations: 123.6 kB / 0.5621 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.1414, allocations: 21.11 kB / 0.5622 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.1415, allocations: 59.75 kB / 0.5622 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.068e-05/0.1416, allocations: 51.75 kB / 0.5623 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1417, allocations: 4 kB / 0.5623 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1418, allocations: 55.97 kB / 0.5623 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.1419, allocations: 39.83 kB / 0.5624 GB, free: 6.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.142, allocations: 41.64 kB / 0.5624 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1422, allocations: 144 kB / 0.5625 GB, free: 6.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1422, allocations: 0 / 0.5625 GB, free: 6.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1422, allocations: 4 kB / 0.5625 GB, free: 6.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1422, allocations: 0 / 0.5625 GB, free: 6.078 MB / 430.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.0005967/0.1428, allocations: 476.2 kB / 0.563 GB, free: 5.559 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1428, allocations: 12.03 kB / 0.563 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.1429, allocations: 15.81 kB / 0.563 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1432, allocations: 235.7 kB / 0.5632 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1432, allocations: 4 kB / 0.5632 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.1432, allocations: 8 kB / 0.5633 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.1435, allocations: 100.2 kB / 0.5634 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1435, allocations: 3.953 kB / 0.5634 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1435, allocations: 3.984 kB / 0.5634 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1435, allocations: 0 / 0.5634 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1436, allocations: 35.98 kB / 0.5634 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.1441, allocations: 356.6 kB / 0.5637 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1444, allocations: 94.55 kB / 0.5638 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.1445, allocations: 36.83 kB / 0.5639 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1445, allocations: 0 / 0.5639 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.1447, allocations: 83.41 kB / 0.5639 GB, free: 4.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.1447, allocations: 0 / 0.5639 GB, free: 4.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003442/0.1451, allocations: 137.5 kB / 0.5641 GB, free: 4.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.1451, allocations: 102.8 kB / 0.5642 GB, free: 4.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.1454, allocations: 270.7 kB / 0.5644 GB, free: 3.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1455, allocations: 25.7 kB / 0.5644 GB, free: 3.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.1455, allocations: 116.1 kB / 0.5646 GB, free: 3.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1456, allocations: 27.69 kB / 0.5646 GB, free: 3.742 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.1456, allocations: 0 / 0.5646 GB, free: 3.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1457, allocations: 330.8 kB / 0.5649 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.1458, allocations: 27.98 kB / 0.5649 GB, free: 3.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1459, allocations: 68.22 kB / 0.565 GB, free: 3.301 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.748e-05/0.146, allocations: 27.98 kB / 0.565 GB, free: 3.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.146, allocations: 3.953 kB / 0.565 GB, free: 3.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002172/0.1462, allocations: 113.4 kB / 0.5651 GB, free: 3.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1463, allocations: 8.031 kB / 0.5651 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1463, allocations: 0 / 0.5651 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1463, allocations: 7.984 kB / 0.5651 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.1464, allocations: 8 kB / 0.5652 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1464, allocations: 4 kB / 0.5652 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.1465, allocations: 11.94 kB / 0.5652 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1465, allocations: 7.984 kB / 0.5652 GB, free: 3.105 MB / 430.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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.1466, allocations: 138.8 kB / 0.5653 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1466, allocations: 19.77 kB / 0.5653 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.1467, allocations: 21.41 kB / 0.5653 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.1467, allocations: 11.92 kB / 0.5654 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1467, allocations: 0 / 0.5654 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1467, allocations: 0 / 0.5654 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.1469, allocations: 217.6 kB / 0.5656 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1469, allocations: 0 / 0.5656 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.147, allocations: 11.95 kB / 0.5656 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.147, allocations: 0 / 0.5656 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.147, allocations: 4 kB / 0.5656 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.147, allocations: 192 / 0.5656 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.147, allocations: 3.984 kB / 0.5656 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1473, allocations: 141.2 kB / 0.5657 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.1474, allocations: 100.8 kB / 0.5658 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.1474, allocations: 7.953 kB / 0.5658 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.1475, allocations: 7.984 kB / 0.5658 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1475, allocations: 7.984 kB / 0.5658 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1475, allocations: 7.984 kB / 0.5658 GB, free: 2.324 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.1477, allocations: 200.3 kB / 0.566 GB, free: 2.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1477, allocations: 0 / 0.566 GB, free: 2.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.148, allocations: 31.98 kB / 0.5661 GB, free: 2.098 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.149, allocations: 417.7 kB / 0.5665 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1493, allocations: 79.86 kB / 0.5665 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1493, allocations: 0 / 0.5665 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.1494, allocations: 39.92 kB / 0.5666 GB, free: 1.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1497, allocations: 47.89 kB / 0.5666 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.1502, allocations: 313.9 kB / 0.5669 GB, free: 1.375 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1506, allocations: 0.7204 MB / 0.5676 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.887e-05/0.1507, allocations: 21.38 kB / 0.5677 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.1507, allocations: 23.42 kB / 0.5677 GB, free: 0.582 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1507, allocations: 4 kB / 0.5677 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of Templates: time 0.005654/0.1564, allocations: 2.342 MB / 0.57 GB, free: 14.27 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)