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.001801/0.001801, allocations: 109.7 kB / 16.64 MB, free: 6.941 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.002013/0.002013, allocations: 185.9 kB / 17.56 MB, free: 6.035 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.407/1.407, allocations: 222.9 MB / 241.3 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7954/0.7954, allocations: 125.3 MB / 416.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 0.4943 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3588, allocations: 78.56 MB / 0.571 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003631/0.3625, allocations: 1.809 MB / 0.5728 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3643, allocations: 1.089 MB / 0.5738 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.3644, allocations: 1.094 kB / 0.5738 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.3648, allocations: 58.28 kB / 0.5739 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.365, allocations: 65.05 kB / 0.574 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.3657, allocations: 213.2 kB / 0.5742 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3659, allocations: 137.7 kB / 0.5743 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3661, allocations: 23.42 kB / 0.5743 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3662, allocations: 70.59 kB / 0.5744 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3663, allocations: 68.86 kB / 0.5744 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3664, allocations: 8.719 kB / 0.5745 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3665, allocations: 71.94 kB / 0.5745 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.3666, allocations: 33.91 kB / 0.5746 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.3667, allocations: 58.09 kB / 0.5746 GB, free: 28.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.367, allocations: 153.2 kB / 0.5748 GB, free: 28.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.367, allocations: 1 kB / 0.5748 GB, free: 28.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.367, allocations: 3.938 kB / 0.5748 GB, free: 28.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.367, allocations: 1.25 kB / 0.5748 GB, free: 28.41 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.0006902/0.3677, allocations: 496 kB / 0.5752 GB, free: 27.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3678, allocations: 10.25 kB / 0.5752 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.3679, allocations: 17.06 kB / 0.5753 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.3681, allocations: 253 kB / 0.5755 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3682, allocations: 4.109 kB / 0.5755 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3682, allocations: 10.91 kB / 0.5755 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.3684, allocations: 95.81 kB / 0.5756 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3684, allocations: 0 / 0.5756 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3685, allocations: 1.891 kB / 0.5756 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.3685, allocations: 3.094 kB / 0.5756 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3686, allocations: 35.86 kB / 0.5757 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3691, allocations: 357 kB / 0.576 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.3694, allocations: 91.08 kB / 0.5761 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.3695, allocations: 30.38 kB / 0.5761 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3695, allocations: 7.609 kB / 0.5761 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.3698, allocations: 87.28 kB / 0.5762 GB, free: 27.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.3698, allocations: 1.188 kB / 0.5762 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004091/0.3702, allocations: 134.4 kB / 0.5763 GB, free: 27.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3702, allocations: 104.5 kB / 0.5764 GB, free: 26.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.3706, allocations: 262.6 kB / 0.5767 GB, free: 26.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3706, allocations: 27.08 kB / 0.5767 GB, free: 26.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.3707, allocations: 127 kB / 0.5768 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.3707, allocations: 25.31 kB / 0.5768 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.3708, allocations: 25.39 kB / 0.5769 GB, free: 26.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.3708, allocations: 335.1 kB / 0.5772 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-05/0.3709, allocations: 29.23 kB / 0.5772 GB, free: 26.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.371, allocations: 68.89 kB / 0.5773 GB, free: 26.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3712, allocations: 68.25 kB / 0.5774 GB, free: 26.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3712, allocations: 1.406 kB / 0.5774 GB, free: 26.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002119/0.3714, allocations: 120.8 kB / 0.5775 GB, free: 26.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3714, allocations: 5.344 kB / 0.5775 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3714, allocations: 3.344 kB / 0.5775 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3715, allocations: 2.016 kB / 0.5775 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.3716, allocations: 12.27 kB / 0.5775 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3716, allocations: 1.094 kB / 0.5775 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.823e-05/0.3717, allocations: 11.5 kB / 0.5775 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3717, allocations: 4.234 kB / 0.5775 GB, free: 26.14 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.0001112/0.3718, allocations: 145.1 kB / 0.5776 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.3718, allocations: 17.44 kB / 0.5777 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.3719, allocations: 18.66 kB / 0.5777 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3719, allocations: 3.875 kB / 0.5777 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3719, allocations: 2.266 kB / 0.5777 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3719, allocations: 3.938 kB / 0.5777 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.3721, allocations: 226.6 kB / 0.5779 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3721, allocations: 0 / 0.5779 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.3722, allocations: 7.281 kB / 0.5779 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3722, allocations: 1.438 kB / 0.5779 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3722, allocations: 2.812 kB / 0.5779 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3722, allocations: 1.438 kB / 0.5779 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3722, allocations: 0 / 0.5779 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3724, allocations: 148.1 kB / 0.5781 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.3725, allocations: 96.47 kB / 0.5781 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.3725, allocations: 8.078 kB / 0.5782 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.3726, allocations: 7.859 kB / 0.5782 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.3726, allocations: 9.578 kB / 0.5782 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3727, allocations: 10.34 kB / 0.5782 GB, free: 25.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.3728, allocations: 193.9 kB / 0.5784 GB, free: 25.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3728, allocations: 0 / 0.5784 GB, free: 25.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.3731, allocations: 34.02 kB / 0.5784 GB, free: 25.44 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.00152/0.3746, allocations: 414.2 kB / 0.5788 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.3749, allocations: 79.78 kB / 0.5789 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3749, allocations: 1.375 kB / 0.5789 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.375, allocations: 33.14 kB / 0.5789 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3753, allocations: 39 kB / 0.5789 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.376, allocations: 357.5 kB / 0.5793 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.3762, allocations: 0.7214 MB / 0.58 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.3762, allocations: 24.02 kB / 0.58 GB, free: 24.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3762, allocations: 0.5938 kB / 0.58 GB, free: 24.29 MB / 446.1 MB Notification: Performance of Templates: time 0.005393/0.3816, allocations: 2.609 MB / 0.5826 GB, free: 23.5 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)