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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007449/0.00745, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001201/0.001201, allocations: 194 kB / 16.68 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.029/1.029, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.88 kB / 0.5951 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4415, allocations: 82.03 MB / 0.6752 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002874/0.4444, allocations: 1.771 MB / 0.6769 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.4461, allocations: 1.105 MB / 0.678 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.4462, allocations: 1.125 kB / 0.678 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.4465, allocations: 54.55 kB / 0.678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.4468, allocations: 82.84 kB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.4474, allocations: 226.2 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.4476, allocations: 149.4 kB / 0.6785 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.4477, allocations: 16.56 kB / 0.6785 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.4478, allocations: 64.11 kB / 0.6785 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.4479, allocations: 71.53 kB / 0.6786 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.4479, allocations: 6.438 kB / 0.6786 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.4481, allocations: 77.38 kB / 0.6787 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.4482, allocations: 34.62 kB / 0.6787 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.4483, allocations: 67.52 kB / 0.6788 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.4486, allocations: 201.2 kB / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4486, allocations: 0 / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4486, allocations: 0 / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4486, allocations: 1.562 kB / 0.679 GB, free: 14.18 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.0006007/0.4492, allocations: 497.2 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.4492, allocations: 10 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.4493, allocations: 40.98 kB / 0.6795 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.4493, allocations: 15.72 kB / 0.6795 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.4497, allocations: 257 kB / 0.6798 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4497, allocations: 2.938 kB / 0.6798 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.4497, allocations: 6.25 kB / 0.6798 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.4499, allocations: 104 kB / 0.6799 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4499, allocations: 3.984 kB / 0.6799 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.45, allocations: 1.438 kB / 0.6799 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.45, allocations: 2.219 kB / 0.6799 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.4501, allocations: 29.2 kB / 0.6799 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.4506, allocations: 352.9 kB / 0.6802 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.4508, allocations: 105.3 kB / 0.6803 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.4509, allocations: 31.28 kB / 0.6804 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4509, allocations: 5.266 kB / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.4511, allocations: 79.28 kB / 0.6805 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.4511, allocations: 0 / 0.6805 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003622/0.4515, allocations: 136.2 kB / 0.6806 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.4516, allocations: 111.9 kB / 0.6807 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.4518, allocations: 268.5 kB / 0.6809 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4518, allocations: 28.2 kB / 0.681 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.4519, allocations: 116.4 kB / 0.6811 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.452, allocations: 30.42 kB / 0.6811 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.452, allocations: 22.91 kB / 0.6811 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4521, allocations: 331.8 kB / 0.6815 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.4522, allocations: 29.98 kB / 0.6815 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.4523, allocations: 73.28 kB / 0.6816 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.4525, allocations: 73.3 kB / 0.6816 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4525, allocations: 0 / 0.6816 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002424/0.4527, allocations: 108.6 kB / 0.6817 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4528, allocations: 9.25 kB / 0.6817 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4528, allocations: 1 kB / 0.6817 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4528, allocations: 1.031 kB / 0.6817 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.4529, allocations: 22.45 kB / 0.6818 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4529, allocations: 1.344 kB / 0.6818 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.453, allocations: 7.688 kB / 0.6818 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.453, allocations: 1.5 kB / 0.6818 GB, free: 11.62 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.000118/0.4531, allocations: 142.9 kB / 0.6819 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.4531, allocations: 14.59 kB / 0.6819 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.4532, allocations: 24.27 kB / 0.6819 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4532, allocations: 6.281 kB / 0.6819 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4532, allocations: 0 / 0.6819 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4532, allocations: 5.25 kB / 0.682 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4534, allocations: 230 kB / 0.6822 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4534, allocations: 0 / 0.6822 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.4535, allocations: 9.391 kB / 0.6822 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4535, allocations: 0 / 0.6822 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4535, allocations: 2.188 kB / 0.6822 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4535, allocations: 0 / 0.6822 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4535, allocations: 0 / 0.6822 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4538, allocations: 152.2 kB / 0.6823 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.4539, allocations: 90.77 kB / 0.6824 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.4539, allocations: 5.25 kB / 0.6824 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.454, allocations: 6.422 kB / 0.6824 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.454, allocations: 11.53 kB / 0.6824 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.454, allocations: 7.203 kB / 0.6824 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001821/0.4542, allocations: 203.8 kB / 0.6826 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4542, allocations: 0 / 0.6826 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002573/0.4545, allocations: 32.94 kB / 0.6827 GB, free: 10.83 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.001364/0.4559, allocations: 0.9944 MB / 0.6836 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.4561, allocations: 75.8 kB / 0.6837 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4561, allocations: 0 / 0.6837 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.462e-05/0.4562, allocations: 33.48 kB / 0.6837 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.4565, allocations: 44.16 kB / 0.6838 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.4586, allocations: 1.957 MB / 0.6857 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4589, allocations: 0.7223 MB / 0.6864 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.493e-05/0.459, allocations: 24.19 kB / 0.6864 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/0.4591, allocations: 49.05 kB / 0.6865 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.4591, allocations: 5.312 kB / 0.6865 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.4829, allocations: 4.709 MB / 0.6911 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.24, allocations: 10.58 kB / 0.6911 GB, free: 5.246 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)