Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.006308/0.006308, allocations: 94.06 kB / 15.73 MB, free: 6.051 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.002003/0.002004, allocations: 195.2 kB / 16.68 MB, free: 5.973 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.047/1.047, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.5955 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5062, allocations: 82.03 MB / 0.6756 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002891/0.5091, allocations: 1.77 MB / 0.6774 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.511, allocations: 1.105 MB / 0.6784 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.5111, allocations: 5.469 kB / 0.6784 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.5115, allocations: 50.55 kB / 0.6785 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.5118, allocations: 81.69 kB / 0.6786 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.5125, allocations: 234.2 kB / 0.6788 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.5127, allocations: 146.3 kB / 0.6789 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.5129, allocations: 27.88 kB / 0.679 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.513, allocations: 59.97 kB / 0.679 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.5131, allocations: 66.62 kB / 0.6791 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.5131, allocations: 11.97 kB / 0.6791 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.5133, allocations: 76.66 kB / 0.6792 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.5134, allocations: 33.53 kB / 0.6792 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.5135, allocations: 60.91 kB / 0.6793 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.5138, allocations: 204.2 kB / 0.6794 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5138, allocations: 0 / 0.6794 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5139, allocations: 1.062 kB / 0.6795 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5139, allocations: 0 / 0.6795 GB, free: 14.52 MB / 0.5137 GB 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.0006928/0.5146, allocations: 499.1 kB / 0.6799 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5146, allocations: 12.47 kB / 0.6799 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.5147, allocations: 17.25 kB / 0.68 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.5151, allocations: 251.5 kB / 0.6802 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5151, allocations: 6.781 kB / 0.6802 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.5151, allocations: 11.88 kB / 0.6802 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.5153, allocations: 91.66 kB / 0.6803 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.5153, allocations: 0 / 0.6803 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.5154, allocations: 5.156 kB / 0.6803 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.5154, allocations: 6.312 kB / 0.6803 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.5155, allocations: 33.48 kB / 0.6803 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.516, allocations: 352.5 kB / 0.6807 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.5163, allocations: 92.84 kB / 0.6808 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.5163, allocations: 35.03 kB / 0.6808 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.5164, allocations: 6.062 kB / 0.6808 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.5166, allocations: 83.02 kB / 0.6809 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.5166, allocations: 0 / 0.6809 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003797/0.517, allocations: 136.4 kB / 0.681 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.517, allocations: 108.1 kB / 0.6811 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.5173, allocations: 268.6 kB / 0.6814 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.5173, allocations: 27.11 kB / 0.6814 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.5174, allocations: 116.5 kB / 0.6815 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.5175, allocations: 27.41 kB / 0.6815 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.5175, allocations: 26.61 kB / 0.6816 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5177, allocations: 336.7 kB / 0.6819 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.5178, allocations: 24.67 kB / 0.6819 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.812e-05/0.5179, allocations: 70.28 kB / 0.682 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.518, allocations: 73.28 kB / 0.682 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.518, allocations: 0 / 0.682 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002228/0.5182, allocations: 111.9 kB / 0.6822 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5183, allocations: 5.938 kB / 0.6822 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5183, allocations: 0 / 0.6822 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5183, allocations: 1.156 kB / 0.6822 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.5184, allocations: 18.3 kB / 0.6822 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5184, allocations: 1.25 kB / 0.6822 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.5185, allocations: 7.797 kB / 0.6822 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.5185, allocations: 10.23 kB / 0.6822 GB, free: 12.01 MB / 0.5137 GB 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.000132/0.5186, allocations: 141.8 kB / 0.6823 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.5187, allocations: 15.75 kB / 0.6823 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.5187, allocations: 20.3 kB / 0.6824 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5188, allocations: 2.156 kB / 0.6824 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.5188, allocations: 8 kB / 0.6824 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5188, allocations: 5.125 kB / 0.6824 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.519, allocations: 225.5 kB / 0.6826 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.519, allocations: 1 kB / 0.6826 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.519, allocations: 12.52 kB / 0.6826 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5191, allocations: 1.438 kB / 0.6826 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5191, allocations: 1.188 kB / 0.6826 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5191, allocations: 0 / 0.6826 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5191, allocations: 400 / 0.6826 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.5193, allocations: 148.5 kB / 0.6828 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.5194, allocations: 98.45 kB / 0.6828 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.5194, allocations: 5.094 kB / 0.6828 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.5195, allocations: 6.422 kB / 0.6829 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.5196, allocations: 11.89 kB / 0.6829 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.5196, allocations: 11.92 kB / 0.6829 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001866/0.5198, allocations: 194.7 kB / 0.6831 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5198, allocations: 0 / 0.6831 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002629/0.5201, allocations: 29.47 kB / 0.6831 GB, free: 11.22 MB / 0.5137 GB 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.001031/0.5211, allocations: 424.2 kB / 0.6835 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.5213, allocations: 76.72 kB / 0.6836 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5213, allocations: 0 / 0.6836 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5215, allocations: 40.7 kB / 0.6836 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.5218, allocations: 41.62 kB / 0.6836 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.5224, allocations: 294.6 kB / 0.6839 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.5227, allocations: 0.7183 MB / 0.6846 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.67e-05/0.5227, allocations: 24 kB / 0.6847 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.5228, allocations: 22.3 kB / 0.6847 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.5228, allocations: 4 kB / 0.6847 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of Templates: time 0.006128/0.5289, allocations: 2.56 MB / 0.6872 GB, free: 8.711 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)