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.001178/0.001178, allocations: 97.2 kB / 15.69 MB, free: 480 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.001382/0.001382, allocations: 179.3 kB / 16.57 MB, free: 6.398 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.329/1.329, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6642/0.6642, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 19.98 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.001712/0.1322, allocations: 1.432 MB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1336, allocations: 0.9953 MB / 0.5592 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.1337, allocations: 4 kB / 0.5592 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.134, allocations: 43.88 kB / 0.5593 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1342, allocations: 67.72 kB / 0.5593 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.1347, allocations: 182.9 kB / 0.5595 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1349, allocations: 91.81 kB / 0.5596 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.135, allocations: 17.11 kB / 0.5596 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1351, allocations: 51.77 kB / 0.5597 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.1352, allocations: 47.83 kB / 0.5597 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1352, allocations: 4 kB / 0.5597 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1353, allocations: 47.91 kB / 0.5597 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.1354, allocations: 39.83 kB / 0.5598 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.1355, allocations: 45.64 kB / 0.5598 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1357, allocations: 148 kB / 0.56 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1357, allocations: 0 / 0.56 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1357, allocations: 4 kB / 0.56 GB, free: 8.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1357, allocations: 0 / 0.56 GB, free: 8.398 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.0005392/0.1362, allocations: 464.3 kB / 0.5604 GB, free: 7.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1363, allocations: 20.02 kB / 0.5604 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.1363, allocations: 15.81 kB / 0.5605 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1366, allocations: 243.7 kB / 0.5607 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1366, allocations: 7.938 kB / 0.5607 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1366, allocations: 4 kB / 0.5607 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1368, allocations: 92.17 kB / 0.5608 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1368, allocations: 11.94 kB / 0.5608 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1369, allocations: 4 kB / 0.5608 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1369, allocations: 0 / 0.5608 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.137, allocations: 35.97 kB / 0.5608 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.1375, allocations: 352.7 kB / 0.5612 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1377, allocations: 94.64 kB / 0.5613 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1377, allocations: 8 kB / 0.5613 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.1379, allocations: 75.44 kB / 0.5613 GB, free: 6.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.1379, allocations: 0 / 0.5613 GB, free: 6.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.00036/0.1383, allocations: 222.6 kB / 0.5616 GB, free: 6.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1383, allocations: 102.8 kB / 0.5617 GB, free: 6.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1386, allocations: 267.4 kB / 0.5619 GB, free: 6.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1386, allocations: 33.7 kB / 0.5619 GB, free: 6.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.1387, allocations: 120.1 kB / 0.5621 GB, free: 6.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.1387, allocations: 15.72 kB / 0.5621 GB, free: 6.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/0.1387, allocations: 4 kB / 0.5621 GB, free: 6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.1388, allocations: 326.8 kB / 0.5624 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.1389, allocations: 27.98 kB / 0.5624 GB, free: 5.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.139, allocations: 64.28 kB / 0.5625 GB, free: 5.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.1391, allocations: 39.92 kB / 0.5625 GB, free: 5.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1391, allocations: 0 / 0.5625 GB, free: 5.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.1393, allocations: 113.4 kB / 0.5626 GB, free: 5.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1393, allocations: 8 kB / 0.5626 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1393, allocations: 3.938 kB / 0.5626 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1394, allocations: 4 kB / 0.5626 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.1394, allocations: 15.98 kB / 0.5626 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1395, allocations: 192 / 0.5626 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.1395, allocations: 11.97 kB / 0.5627 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1396, allocations: 7.938 kB / 0.5627 GB, free: 5.359 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.0001106/0.1397, allocations: 142.5 kB / 0.5628 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.1397, allocations: 19.77 kB / 0.5628 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.1397, allocations: 17.41 kB / 0.5628 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.1398, allocations: 0 / 0.5628 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1398, allocations: 0 / 0.5628 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1398, allocations: 3.984 kB / 0.5628 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.14, allocations: 225.6 kB / 0.5631 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.14, allocations: 0 / 0.5631 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.14, allocations: 7.938 kB / 0.5631 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.14, allocations: 3.953 kB / 0.5631 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.14, allocations: 4 kB / 0.5631 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.14, allocations: 0 / 0.5631 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.14, allocations: 0 / 0.5631 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1403, allocations: 145.3 kB / 0.5632 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1403, allocations: 100.9 kB / 0.5633 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1404, allocations: 7.953 kB / 0.5633 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.1404, allocations: 4 kB / 0.5633 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1405, allocations: 7.984 kB / 0.5633 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1405, allocations: 4 kB / 0.5633 GB, free: 4.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.1407, allocations: 200.3 kB / 0.5635 GB, free: 4.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1407, allocations: 0 / 0.5635 GB, free: 4.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1409, allocations: 32 kB / 0.5636 GB, free: 4.355 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.0009087/0.1418, allocations: 443.8 kB / 0.564 GB, free: 4.082 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1421, allocations: 67.95 kB / 0.564 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1421, allocations: 0 / 0.564 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.1422, allocations: 35.92 kB / 0.5641 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1424, allocations: 27.98 kB / 0.5641 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.1429, allocations: 314.1 kB / 0.5644 GB, free: 3.625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1431, allocations: 0.7282 MB / 0.5651 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.673e-05/0.1432, allocations: 25.38 kB / 0.5651 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.1433, allocations: 23.42 kB / 0.5652 GB, free: 2.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1433, allocations: 0 / 0.5652 GB, free: 2.82 MB / 430.1 MB Notification: Performance of Templates: time 0.00496/0.1482, allocations: 2.338 MB / 0.5674 GB, free: 0.5117 MB / 430.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)