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.005239/0.00524, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001071/0.001071, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.9684/0.9684, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4751, allocations: 82.03 MB / 0.6756 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002458/0.4776, allocations: 1.762 MB / 0.6774 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.4792, allocations: 1.109 MB / 0.6784 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-05/0.4793, allocations: 1.5 kB / 0.6784 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.4796, allocations: 57.72 kB / 0.6785 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.4799, allocations: 78.11 kB / 0.6786 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.4805, allocations: 230.8 kB / 0.6788 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.4807, allocations: 145.2 kB / 0.6789 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4808, allocations: 24.89 kB / 0.679 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.4809, allocations: 64.36 kB / 0.679 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.481, allocations: 66.97 kB / 0.6791 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.481, allocations: 7.031 kB / 0.6791 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.4812, allocations: 68.98 kB / 0.6792 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.4812, allocations: 42.17 kB / 0.6792 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/0.4813, allocations: 63.95 kB / 0.6793 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.4816, allocations: 194.8 kB / 0.6794 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4816, allocations: 5.359 kB / 0.6794 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4816, allocations: 3.938 kB / 0.6795 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.4816, allocations: 0 / 0.6795 GB, free: 14.57 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.000623/0.4823, allocations: 489.6 kB / 0.6799 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4823, allocations: 9.531 kB / 0.6799 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.4824, allocations: 16.75 kB / 0.6799 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.4827, allocations: 260.5 kB / 0.6802 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4827, allocations: 2.562 kB / 0.6802 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4827, allocations: 11.31 kB / 0.6802 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.483, allocations: 95.97 kB / 0.6803 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.483, allocations: 0 / 0.6803 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.483, allocations: 1.5 kB / 0.6803 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.483, allocations: 1.125 kB / 0.6803 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.4831, allocations: 34.52 kB / 0.6803 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.4836, allocations: 355.9 kB / 0.6807 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.4838, allocations: 97.52 kB / 0.6808 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.1e-05/0.4839, allocations: 31.03 kB / 0.6808 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4839, allocations: 1.125 kB / 0.6808 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.4841, allocations: 83.88 kB / 0.6809 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.4841, allocations: 0 / 0.6809 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003587/0.4845, allocations: 139.4 kB / 0.681 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.4846, allocations: 105.3 kB / 0.6811 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.4848, allocations: 259.9 kB / 0.6814 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4849, allocations: 27.86 kB / 0.6814 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.485, allocations: 119.7 kB / 0.6815 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.485, allocations: 31.75 kB / 0.6815 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.4851, allocations: 22.88 kB / 0.6815 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4852, allocations: 335.2 kB / 0.6819 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.4853, allocations: 25.55 kB / 0.6819 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.4854, allocations: 69.78 kB / 0.682 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4855, allocations: 73.06 kB / 0.682 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4856, allocations: 1.125 kB / 0.682 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002087/0.4858, allocations: 120 kB / 0.6821 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4858, allocations: 6.469 kB / 0.6822 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4858, allocations: 1.094 kB / 0.6822 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4858, allocations: 1.156 kB / 0.6822 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.4859, allocations: 14.77 kB / 0.6822 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.4859, allocations: 1.422 kB / 0.6822 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.486, allocations: 15.19 kB / 0.6822 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.486, allocations: 2.281 kB / 0.6822 GB, free: 12.08 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.0001229/0.4862, allocations: 146 kB / 0.6823 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.4862, allocations: 14.81 kB / 0.6823 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.4862, allocations: 24.39 kB / 0.6824 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4863, allocations: 6.281 kB / 0.6824 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4863, allocations: 0 / 0.6824 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4863, allocations: 4.938 kB / 0.6824 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.4865, allocations: 222.8 kB / 0.6826 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4865, allocations: 4 kB / 0.6826 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.4866, allocations: 8.484 kB / 0.6826 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.4866, allocations: 1.125 kB / 0.6826 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4866, allocations: 1.062 kB / 0.6826 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4866, allocations: 1.219 kB / 0.6826 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4866, allocations: 0 / 0.6826 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.4868, allocations: 147.4 kB / 0.6827 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.4869, allocations: 99.08 kB / 0.6828 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.4869, allocations: 1.031 kB / 0.6828 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.487, allocations: 6.266 kB / 0.6828 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.4871, allocations: 8.75 kB / 0.6829 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.4871, allocations: 14.27 kB / 0.6829 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001693/0.4873, allocations: 196.1 kB / 0.6831 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4873, allocations: 0 / 0.6831 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002543/0.4875, allocations: 32.75 kB / 0.6831 GB, free: 11.29 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.0009653/0.4885, allocations: 426.7 kB / 0.6835 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.4887, allocations: 71.83 kB / 0.6836 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4887, allocations: 1.375 kB / 0.6836 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.4888, allocations: 36.55 kB / 0.6836 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.4891, allocations: 38.23 kB / 0.6836 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.4897, allocations: 288.3 kB / 0.6839 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.49, allocations: 0.7233 MB / 0.6846 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.444e-05/0.49, allocations: 27.64 kB / 0.6846 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.4901, allocations: 17.88 kB / 0.6847 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4901, allocations: 0 / 0.6847 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.005789/0.4959, allocations: 2.614 MB / 0.6872 GB, free: 8.75 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)