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.001058/0.001058, allocations: 92.05 kB / 16.67 MB, free: 5.742 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.001253/0.001253, allocations: 180.7 kB / 17.57 MB, free: 5.477 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.36/1.36, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.745/0.745, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004805, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4257, allocations: 77.53 MB / 0.5606 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.001992/0.4278, allocations: 1.474 MB / 0.562 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.4293, allocations: 1.068 MB / 0.5631 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.4294, allocations: 1.625 kB / 0.5631 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.4297, allocations: 54.44 kB / 0.5631 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.4299, allocations: 69.12 kB / 0.5632 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.4304, allocations: 197.8 kB / 0.5634 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.4306, allocations: 131.5 kB / 0.5635 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.4307, allocations: 22.64 kB / 0.5635 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.713e-05/0.4308, allocations: 52.48 kB / 0.5636 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.4309, allocations: 62.16 kB / 0.5636 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.4309, allocations: 3.438 kB / 0.5636 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4311, allocations: 62.62 kB / 0.5637 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.4311, allocations: 38.53 kB / 0.5637 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.4312, allocations: 82.84 kB / 0.5638 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.4314, allocations: 150 kB / 0.5639 GB, free: 33.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4314, allocations: 0 / 0.5639 GB, free: 33.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4314, allocations: 1.25 kB / 0.5639 GB, free: 33.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.4315, allocations: 0 / 0.5639 GB, free: 33.24 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.0005523/0.432, allocations: 462.9 kB / 0.5644 GB, free: 32.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4321, allocations: 17.12 kB / 0.5644 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.4321, allocations: 20.72 kB / 0.5644 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.4324, allocations: 253.4 kB / 0.5647 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.4324, allocations: 4.078 kB / 0.5647 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.4324, allocations: 8.25 kB / 0.5647 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.4326, allocations: 98.3 kB / 0.5648 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4326, allocations: 0.6875 kB / 0.5648 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4326, allocations: 1.031 kB / 0.5648 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.4327, allocations: 2.734 kB / 0.5648 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.4328, allocations: 35.36 kB / 0.5648 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.4333, allocations: 354 kB / 0.5651 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.4335, allocations: 88 kB / 0.5652 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.4336, allocations: 38.56 kB / 0.5653 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.4336, allocations: 5.359 kB / 0.5653 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.4338, allocations: 75.28 kB / 0.5653 GB, free: 32.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.4338, allocations: 0.625 kB / 0.5653 GB, free: 32.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003749/0.4342, allocations: 143 kB / 0.5655 GB, free: 31.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.4343, allocations: 105.5 kB / 0.5656 GB, free: 31.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.4345, allocations: 265.5 kB / 0.5658 GB, free: 31.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4346, allocations: 27.77 kB / 0.5659 GB, free: 31.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.4346, allocations: 125.9 kB / 0.566 GB, free: 31.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.4347, allocations: 20.62 kB / 0.566 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.4347, allocations: 19.89 kB / 0.566 GB, free: 31.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.4348, allocations: 333.5 kB / 0.5663 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.4349, allocations: 26.88 kB / 0.5664 GB, free: 31.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.435, allocations: 68.8 kB / 0.5664 GB, free: 31.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4351, allocations: 71.28 kB / 0.5665 GB, free: 31.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4351, allocations: 3.594 kB / 0.5665 GB, free: 31.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002062/0.4354, allocations: 109.2 kB / 0.5666 GB, free: 31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4354, allocations: 6.141 kB / 0.5666 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4354, allocations: 0 / 0.5666 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4354, allocations: 5.125 kB / 0.5666 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4355, allocations: 17.5 kB / 0.5666 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4355, allocations: 2.891 kB / 0.5666 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.4356, allocations: 12.56 kB / 0.5666 GB, free: 30.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4356, allocations: 3.031 kB / 0.5666 GB, free: 30.99 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 0.0001167/0.4358, allocations: 143.1 kB / 0.5668 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4358, allocations: 14.28 kB / 0.5668 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.4358, allocations: 20.34 kB / 0.5668 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4359, allocations: 2.906 kB / 0.5668 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4359, allocations: 0.6562 kB / 0.5668 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4359, allocations: 5.859 kB / 0.5668 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.4361, allocations: 225.9 kB / 0.567 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4361, allocations: 0.875 kB / 0.567 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.4361, allocations: 7.531 kB / 0.5671 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4362, allocations: 3.031 kB / 0.5671 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4362, allocations: 9.547 kB / 0.5671 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.4362, allocations: 1.672 kB / 0.5671 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4362, allocations: 0 / 0.5671 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.4364, allocations: 143.9 kB / 0.5672 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.4365, allocations: 97.22 kB / 0.5673 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.4365, allocations: 2.203 kB / 0.5673 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.4366, allocations: 9.312 kB / 0.5673 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.4367, allocations: 11.34 kB / 0.5673 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4367, allocations: 8.594 kB / 0.5673 GB, free: 30.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.4369, allocations: 202.1 kB / 0.5675 GB, free: 30.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4369, allocations: 0 / 0.5675 GB, free: 30.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.4372, allocations: 35.78 kB / 0.5676 GB, free: 30.28 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.001008/0.4382, allocations: 424.5 kB / 0.568 GB, free: 30.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.4384, allocations: 74.12 kB / 0.568 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4384, allocations: 1.75 kB / 0.568 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.4385, allocations: 37.67 kB / 0.5681 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4388, allocations: 34.27 kB / 0.5681 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.4394, allocations: 356.4 kB / 0.5684 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.4396, allocations: 0.7207 MB / 0.5691 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.4396, allocations: 24.77 kB / 0.5692 GB, free: 29.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4397, allocations: 0.5 kB / 0.5692 GB, free: 29.13 MB / 446.1 MB Notification: Performance of Templates: time 0.005636/0.4453, allocations: 2.574 MB / 0.5717 GB, free: 28.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)