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.0009971/0.0009968, allocations: 93.03 kB / 16.02 MB, free: 84 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.001114/0.001114, allocations: 175.7 kB / 16.91 MB, free: 6.68 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9111/0.9111, allocations: 123 MB / 415.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 13.22 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5218, allocations: 79.28 MB / 0.5707 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002567/0.5244, allocations: 1.473 MB / 0.5722 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.5263, allocations: 1.07 MB / 0.5732 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.5264, allocations: 0.7812 kB / 0.5732 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.5268, allocations: 56.55 kB / 0.5733 GB, free: 9.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.527, allocations: 67.39 kB / 0.5733 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.5276, allocations: 203 kB / 0.5735 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.5278, allocations: 132.5 kB / 0.5737 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.5279, allocations: 25.05 kB / 0.5737 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.5281, allocations: 56.08 kB / 0.5737 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.5282, allocations: 58.55 kB / 0.5738 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.5282, allocations: 2.531 kB / 0.5738 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.5284, allocations: 68.64 kB / 0.5739 GB, free: 8.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.5285, allocations: 38.94 kB / 0.5739 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.5286, allocations: 76.89 kB / 0.574 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.5289, allocations: 187.9 kB / 0.5742 GB, free: 8.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5289, allocations: 0.9375 kB / 0.5742 GB, free: 8.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5289, allocations: 3.938 kB / 0.5742 GB, free: 8.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.5289, allocations: 0 / 0.5742 GB, free: 8.68 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.0005823/0.5295, allocations: 456.8 kB / 0.5746 GB, free: 8.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5295, allocations: 10.53 kB / 0.5746 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.5296, allocations: 20.42 kB / 0.5746 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.5299, allocations: 261.1 kB / 0.5749 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.5299, allocations: 2.688 kB / 0.5749 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.53, allocations: 12.14 kB / 0.5749 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.5302, allocations: 92.53 kB / 0.575 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5302, allocations: 4.828 kB / 0.575 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.5303, allocations: 0.7188 kB / 0.575 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.5303, allocations: 6.797 kB / 0.575 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.5305, allocations: 35.67 kB / 0.575 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.5311, allocations: 351.6 kB / 0.5754 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.5313, allocations: 88.22 kB / 0.5754 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.5314, allocations: 35.34 kB / 0.5755 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.5314, allocations: 5.438 kB / 0.5755 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.5317, allocations: 79.53 kB / 0.5756 GB, free: 7.438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.5317, allocations: 0 / 0.5756 GB, free: 7.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003861/0.5321, allocations: 145.9 kB / 0.5757 GB, free: 7.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.5321, allocations: 105 kB / 0.5758 GB, free: 7.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.5325, allocations: 271.2 kB / 0.576 GB, free: 7.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5325, allocations: 27.95 kB / 0.5761 GB, free: 7.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.5326, allocations: 115.4 kB / 0.5762 GB, free: 6.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.5326, allocations: 21.59 kB / 0.5762 GB, free: 6.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.5326, allocations: 14.44 kB / 0.5762 GB, free: 6.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.5327, allocations: 332.6 kB / 0.5765 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-05/0.5328, allocations: 25.41 kB / 0.5766 GB, free: 6.586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.5329, allocations: 82.09 kB / 0.5766 GB, free: 6.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.533, allocations: 67.72 kB / 0.5767 GB, free: 6.488 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.533, allocations: 0 / 0.5767 GB, free: 6.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.5332, allocations: 114.9 kB / 0.5768 GB, free: 6.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5333, allocations: 7.125 kB / 0.5768 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.5333, allocations: 1.469 kB / 0.5768 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5333, allocations: 0.75 kB / 0.5768 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.5334, allocations: 17.56 kB / 0.5768 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.5334, allocations: 0.9062 kB / 0.5768 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.5335, allocations: 12.44 kB / 0.5769 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.5335, allocations: 3.797 kB / 0.5769 GB, free: 6.41 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 ($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 0.0001133/0.5336, allocations: 145.4 kB / 0.577 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.5337, allocations: 19.47 kB / 0.577 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.5337, allocations: 18.8 kB / 0.577 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5337, allocations: 2.438 kB / 0.577 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5337, allocations: 0 / 0.577 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5337, allocations: 9.641 kB / 0.577 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.5339, allocations: 223.2 kB / 0.5773 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5339, allocations: 0 / 0.5773 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.534, allocations: 6.109 kB / 0.5773 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.534, allocations: 4.844 kB / 0.5773 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.534, allocations: 1.953 kB / 0.5773 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.534, allocations: 0.8125 kB / 0.5773 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.534, allocations: 1.391 kB / 0.5773 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.5342, allocations: 150 kB / 0.5774 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.5343, allocations: 94.11 kB / 0.5775 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.5343, allocations: 6.812 kB / 0.5775 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.5344, allocations: 3.266 kB / 0.5775 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.5344, allocations: 11.23 kB / 0.5775 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.5345, allocations: 7.797 kB / 0.5775 GB, free: 5.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.5346, allocations: 196.2 kB / 0.5777 GB, free: 5.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5347, allocations: 0.8438 kB / 0.5777 GB, free: 5.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.5349, allocations: 34.19 kB / 0.5778 GB, free: 5.699 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 (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.00102/0.536, allocations: 440 kB / 0.5782 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.5362, allocations: 64.19 kB / 0.5782 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5362, allocations: 1.062 kB / 0.5782 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.631e-05/0.5363, allocations: 40.56 kB / 0.5783 GB, free: 5.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.5366, allocations: 32.41 kB / 0.5783 GB, free: 5.453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.5372, allocations: 330.1 kB / 0.5786 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.5373, allocations: 0.7259 MB / 0.5793 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.283e-05/0.5374, allocations: 23.31 kB / 0.5793 GB, free: 4.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.5375, allocations: 18.98 kB / 0.5794 GB, free: 4.516 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5375, allocations: 0.9062 kB / 0.5794 GB, free: 4.516 MB / 430.1 MB Notification: Performance of Templates: time 0.006636/0.5441, allocations: 2.415 MB / 0.5817 GB, free: 4.285 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)