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.001477/0.001477, allocations: 100.1 kB / 15.88 MB, free: 12 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.001821/0.001821, allocations: 196 kB / 16.79 MB, free: 6.828 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.629 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 0.9685/0.9685, allocations: 143 MB / 433.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 71.89 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1428, allocations: 82.02 MB / 0.5942 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002986/0.1458, allocations: 1.838 MB / 0.596 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1475, allocations: 1.08 MB / 0.5971 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.1475, allocations: 4 kB / 0.5971 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1478, allocations: 55.81 kB / 0.5972 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.148, allocations: 67.8 kB / 0.5972 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.1485, allocations: 193.8 kB / 0.5974 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1487, allocations: 139.6 kB / 0.5975 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1488, allocations: 17.12 kB / 0.5976 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1489, allocations: 67.62 kB / 0.5976 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.421e-05/0.149, allocations: 59.75 kB / 0.5977 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1491, allocations: 4 kB / 0.5977 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1492, allocations: 63.91 kB / 0.5977 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.1493, allocations: 35.89 kB / 0.5978 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.1494, allocations: 51.61 kB / 0.5978 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1496, allocations: 144 kB / 0.598 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1496, allocations: 0 / 0.598 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1496, allocations: 4 kB / 0.598 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1496, allocations: 0 / 0.598 GB, free: 6.234 MB / 0.4981 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.0006785/0.1503, allocations: 496.3 kB / 0.5984 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1504, allocations: 8.031 kB / 0.5984 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.1504, allocations: 16.75 kB / 0.5985 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1507, allocations: 252.9 kB / 0.5987 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1507, allocations: 4.375 kB / 0.5987 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1508, allocations: 4.125 kB / 0.5987 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.151, allocations: 104.1 kB / 0.5988 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.151, allocations: 0 / 0.5988 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.151, allocations: 4 kB / 0.5988 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.151, allocations: 3.984 kB / 0.5988 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1512, allocations: 31.98 kB / 0.5988 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.1517, allocations: 364.7 kB / 0.5992 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.1519, allocations: 90.61 kB / 0.5993 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.152, allocations: 36.83 kB / 0.5993 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.152, allocations: 3.984 kB / 0.5993 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.1522, allocations: 75.39 kB / 0.5994 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1523, allocations: 7.938 kB / 0.5994 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003605/0.1526, allocations: 145.4 kB / 0.5995 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1527, allocations: 102.8 kB / 0.5996 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.1529, allocations: 267.7 kB / 0.5999 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.153, allocations: 25.7 kB / 0.5999 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.153, allocations: 120 kB / 0.6 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1531, allocations: 15.81 kB / 0.6 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.1531, allocations: 25.7 kB / 0.6001 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1532, allocations: 334.8 kB / 0.6004 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.1533, allocations: 27.98 kB / 0.6004 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1534, allocations: 72.2 kB / 0.6005 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1536, allocations: 65.7 kB / 0.6005 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1536, allocations: 4 kB / 0.6006 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.1538, allocations: 113.7 kB / 0.6007 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1538, allocations: 4 kB / 0.6007 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1539, allocations: 0 / 0.6007 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1539, allocations: 7.984 kB / 0.6007 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.154, allocations: 12 kB / 0.6007 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.154, allocations: 4.062 kB / 0.6007 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.154, allocations: 11.88 kB / 0.6007 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1541, allocations: 7.984 kB / 0.6007 GB, free: 3.152 MB / 0.4981 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.0001464/0.1542, allocations: 153.5 kB / 0.6009 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1543, allocations: 11.81 kB / 0.6009 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.1543, allocations: 17.59 kB / 0.6009 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.1543, allocations: 7.984 kB / 0.6009 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1543, allocations: 3.938 kB / 0.6009 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1543, allocations: 3.938 kB / 0.6009 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.1545, allocations: 225.5 kB / 0.6011 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1545, allocations: 0 / 0.6011 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.1546, allocations: 4 kB / 0.6011 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1546, allocations: 8 kB / 0.6011 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1546, allocations: 0 / 0.6011 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1546, allocations: 7.938 kB / 0.6011 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1546, allocations: 3.984 kB / 0.6011 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1549, allocations: 136.9 kB / 0.6013 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.1549, allocations: 89 kB / 0.6014 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.155, allocations: 8 kB / 0.6014 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.155, allocations: 0 / 0.6014 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.1551, allocations: 15.92 kB / 0.6014 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1551, allocations: 11.94 kB / 0.6014 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001695/0.1553, allocations: 192.6 kB / 0.6016 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1553, allocations: 0 / 0.6016 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002479/0.1556, allocations: 35.91 kB / 0.6016 GB, free: 2.137 MB / 0.4981 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.0009368/0.1565, allocations: 427.3 kB / 0.602 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1567, allocations: 67.97 kB / 0.6021 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1567, allocations: 0 / 0.6021 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.1568, allocations: 35.92 kB / 0.6021 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1571, allocations: 42.28 kB / 0.6021 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.1577, allocations: 358.6 kB / 0.6025 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1579, allocations: 0.7204 MB / 0.6032 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.158, allocations: 23.42 kB / 0.6032 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.158, allocations: 0 / 0.6032 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.2291/0.3871, allocations: 2.589 MB / 0.6057 GB, free: 43.56 MB / 0.4981 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)