Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",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.00541/0.00541, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.00111/0.001111, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.9512/0.9512, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1651, allocations: 82.03 MB / 0.6752 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003276/0.1684, allocations: 1.779 MB / 0.6769 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1702, allocations: 1.03 MB / 0.6779 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1704, allocations: 0 / 0.6779 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007304/0.1712, allocations: 163.5 kB / 0.6781 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.1715, allocations: 111.6 kB / 0.6782 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.1721, allocations: 162.5 kB / 0.6783 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.1724, allocations: 175.6 kB / 0.6785 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1726, allocations: 29.11 kB / 0.6785 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.1727, allocations: 67.7 kB / 0.6786 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1729, allocations: 79.67 kB / 0.6787 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.1729, allocations: 8 kB / 0.6787 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.1731, allocations: 59.95 kB / 0.6787 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.1732, allocations: 35.91 kB / 0.6788 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1733, allocations: 63.55 kB / 0.6788 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1737, allocations: 203.5 kB / 0.679 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1737, allocations: 0 / 0.679 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1737, allocations: 0 / 0.679 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.1738, allocations: 0 / 0.679 GB, free: 6.867 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001216/0.175, allocations: 0.4961 MB / 0.6795 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.175, allocations: 8.031 kB / 0.6795 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.436e-05/0.1751, allocations: 42.73 kB / 0.6796 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.1752, allocations: 12.84 kB / 0.6796 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.1756, allocations: 252.9 kB / 0.6798 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.1757, allocations: 4.375 kB / 0.6798 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1757, allocations: 11.94 kB / 0.6798 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.176, allocations: 91.31 kB / 0.6799 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.176, allocations: 0 / 0.6799 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.176, allocations: 0 / 0.6799 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.176, allocations: 4 kB / 0.6799 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1762, allocations: 39.97 kB / 0.68 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.1768, allocations: 340.8 kB / 0.6803 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.177, allocations: 78.72 kB / 0.6804 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.1771, allocations: 40.72 kB / 0.6804 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1771, allocations: 7.984 kB / 0.6804 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1773, allocations: 83.36 kB / 0.6805 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1773, allocations: 0 / 0.6805 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003767/0.1777, allocations: 153.5 kB / 0.6806 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1778, allocations: 77.11 kB / 0.6807 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.1781, allocations: 262.9 kB / 0.6809 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1781, allocations: 29.7 kB / 0.681 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.1782, allocations: 112.1 kB / 0.6811 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1782, allocations: 31.73 kB / 0.6811 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.1783, allocations: 29.7 kB / 0.6811 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1784, allocations: 326.8 kB / 0.6815 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.554e-05/0.1785, allocations: 31.98 kB / 0.6815 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.1786, allocations: 59.42 kB / 0.6815 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1787, allocations: 69.69 kB / 0.6816 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1788, allocations: 0 / 0.6816 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002137/0.179, allocations: 117.9 kB / 0.6817 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.179, allocations: 13.77 kB / 0.6817 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.179, allocations: 7.875 kB / 0.6817 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.179, allocations: 4 kB / 0.6817 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.1791, allocations: 8 kB / 0.6818 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1791, allocations: 0 / 0.6818 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.1792, allocations: 7.938 kB / 0.6818 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1792, allocations: 11.98 kB / 0.6818 GB, free: 3.773 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001363/0.1794, allocations: 137.8 kB / 0.6819 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1794, allocations: 23.86 kB / 0.6819 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.1795, allocations: 21.41 kB / 0.6819 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.1795, allocations: 3.984 kB / 0.682 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1795, allocations: 0 / 0.682 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1795, allocations: 7.875 kB / 0.682 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1797, allocations: 221.5 kB / 0.6822 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1797, allocations: 0 / 0.6822 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.1798, allocations: 7.938 kB / 0.6822 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1798, allocations: 0 / 0.6822 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1798, allocations: 4 kB / 0.6822 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1798, allocations: 4 kB / 0.6822 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1798, allocations: 0 / 0.6822 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1801, allocations: 148.9 kB / 0.6823 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.1802, allocations: 89.02 kB / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1802, allocations: 0 / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.1803, allocations: 11.98 kB / 0.6824 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1803, allocations: 11.88 kB / 0.6824 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1803, allocations: 0 / 0.6824 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002048/0.1805, allocations: 204.6 kB / 0.6826 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1805, allocations: 0 / 0.6826 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002675/0.1808, allocations: 31.89 kB / 0.6827 GB, free: 2.766 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.001536/0.1824, allocations: 0.9998 MB / 0.6836 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1826, allocations: 71.97 kB / 0.6837 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1826, allocations: 0 / 0.6837 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.1827, allocations: 35.94 kB / 0.6837 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1831, allocations: 55.64 kB / 0.6838 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.1858, allocations: 1.952 MB / 0.6857 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1862, allocations: 0.724 MB / 0.6864 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.962e-05/0.1863, allocations: 25.7 kB / 0.6864 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.1864, allocations: 43.42 kB / 0.6865 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of SimCode: time 1.265e-05/0.1865, allocations: 4 kB / 0.6865 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.2098, allocations: 4.538 MB / 0.6909 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.061, allocations: 0 / 0.6909 GB, free: 10.47 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)