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.001082/0.001082, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001124/0.001124, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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 0.8658/0.8658, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.16 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003002/0.137, allocations: 1.773 MB / 0.6781 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1387, allocations: 1.107 MB / 0.6791 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.1388, allocations: 4 kB / 0.6791 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1391, allocations: 51.73 kB / 0.6792 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.1394, allocations: 79.67 kB / 0.6793 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.14, allocations: 222.9 kB / 0.6795 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.1403, allocations: 159.6 kB / 0.6796 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.1404, allocations: 25.11 kB / 0.6797 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1405, allocations: 67.69 kB / 0.6797 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1406, allocations: 63.75 kB / 0.6798 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1406, allocations: 8 kB / 0.6798 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1408, allocations: 71.89 kB / 0.6799 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.1409, allocations: 35.91 kB / 0.6799 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.141, allocations: 55.61 kB / 0.6799 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.1413, allocations: 207.4 kB / 0.6801 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1413, allocations: 0 / 0.6801 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1413, allocations: 0 / 0.6801 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.1413, allocations: 0 / 0.6801 GB, free: 6.418 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.0006549/0.1419, allocations: 496.2 kB / 0.6806 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.142, allocations: 8.031 kB / 0.6806 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.142, allocations: 16.75 kB / 0.6806 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1424, allocations: 248.9 kB / 0.6809 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1424, allocations: 384 / 0.6809 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1424, allocations: 16.12 kB / 0.6809 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1426, allocations: 92.17 kB / 0.681 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1426, allocations: 0 / 0.681 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1427, allocations: 0 / 0.681 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.1427, allocations: 4 kB / 0.681 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.1428, allocations: 35.97 kB / 0.681 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.1433, allocations: 368.5 kB / 0.6814 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1435, allocations: 90.61 kB / 0.6815 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.1436, allocations: 28.84 kB / 0.6815 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1437, allocations: 4 kB / 0.6815 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.1438, allocations: 87.41 kB / 0.6816 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.1438, allocations: 0 / 0.6816 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003693/0.1442, allocations: 133.5 kB / 0.6817 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1443, allocations: 106.8 kB / 0.6818 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1445, allocations: 259 kB / 0.682 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1446, allocations: 29.69 kB / 0.6821 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.1446, allocations: 124.1 kB / 0.6822 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1447, allocations: 15.72 kB / 0.6822 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1447, allocations: 33.7 kB / 0.6822 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1449, allocations: 330.8 kB / 0.6826 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.1449, allocations: 27.92 kB / 0.6826 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-05/0.145, allocations: 72.27 kB / 0.6826 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1452, allocations: 65.7 kB / 0.6827 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1452, allocations: 4 kB / 0.6827 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002245/0.1454, allocations: 113.4 kB / 0.6828 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1455, allocations: 8 kB / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1455, allocations: 0 / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1455, allocations: 0 / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.1456, allocations: 15.98 kB / 0.6828 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1456, allocations: 0 / 0.6828 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.1457, allocations: 7.938 kB / 0.6829 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1457, allocations: 7.938 kB / 0.6829 GB, free: 3.348 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.0001256/0.1458, allocations: 146.5 kB / 0.683 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.1459, allocations: 23.83 kB / 0.683 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.1459, allocations: 21.41 kB / 0.683 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1459, allocations: 0 / 0.683 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1459, allocations: 0 / 0.683 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.146, allocations: 92.91 kB / 0.6831 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.146, allocations: 11.94 kB / 0.6831 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.1461, allocations: 3.938 kB / 0.6831 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.1461, allocations: 7.984 kB / 0.6832 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002686/0.1464, allocations: 188.9 kB / 0.6833 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002919/0.1467, allocations: 291.1 kB / 0.6836 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.5e-05/0.1468, allocations: 40.05 kB / 0.6837 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001713/0.147, allocations: 196.5 kB / 0.6838 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of Backend: time 3.81e-07/0.147, allocations: 4 kB / 0.6838 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.1483, allocations: 452.8 kB / 0.6843 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007137/0.1491, allocations: 0.7372 MB / 0.685 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of Templates: time 0.005838/0.1549, allocations: 2.608 MB / 0.6875 GB, free: 14.63 MB / 0.5294 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)