Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.004997/0.004997, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001267/0.001267, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.8414/0.8414, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 65.62 kB / 0.5951 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1351, allocations: 82.03 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003425/0.1385, allocations: 2.123 MB / 0.6772 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1403, allocations: 1.041 MB / 0.6783 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.1405, allocations: 7.938 kB / 0.6783 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.671e-05/0.1405, allocations: 27.66 kB / 0.6783 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1409, allocations: 79.3 kB / 0.6784 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.1414, allocations: 202.5 kB / 0.6786 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.1417, allocations: 294.8 kB / 0.6788 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1419, allocations: 53 kB / 0.6789 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.1421, allocations: 111.5 kB / 0.679 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1423, allocations: 143.4 kB / 0.6791 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.1424, allocations: 20 kB / 0.6792 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1428, allocations: 303.6 kB / 0.6794 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.1429, allocations: 47.72 kB / 0.6795 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.143, allocations: 119.3 kB / 0.6796 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1434, allocations: 342.5 kB / 0.6799 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1434, allocations: 0 / 0.6799 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1434, allocations: 0 / 0.6799 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.1434, allocations: 0 / 0.6799 GB, free: 5.945 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001084/0.1445, allocations: 0.6384 MB / 0.6806 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1446, allocations: 12.03 kB / 0.6806 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.1446, allocations: 58.61 kB / 0.6806 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.1449, allocations: 36.75 kB / 0.6807 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.1453, allocations: 279.8 kB / 0.6809 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1453, allocations: 20.59 kB / 0.6809 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.1453, allocations: 12.38 kB / 0.681 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.1458, allocations: 229.3 kB / 0.6812 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1459, allocations: 0 / 0.6812 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1459, allocations: 11.94 kB / 0.6812 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1459, allocations: 4 kB / 0.6812 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/0.1466, allocations: 199.8 kB / 0.6814 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1477, allocations: 0.9385 MB / 0.6823 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.1485, allocations: 245.1 kB / 0.6825 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.1489, allocations: 109.6 kB / 0.6826 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1489, allocations: 4.297 kB / 0.6826 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.149, allocations: 34.56 kB / 0.6827 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.149, allocations: 4 kB / 0.6827 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001202/0.1502, allocations: 333.2 kB / 0.683 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1502, allocations: 85.11 kB / 0.6831 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1505, allocations: 263 kB / 0.6833 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1505, allocations: 29.7 kB / 0.6834 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1506, allocations: 160.3 kB / 0.6835 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1507, allocations: 59.48 kB / 0.6836 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.1508, allocations: 37.7 kB / 0.6836 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1509, allocations: 342.8 kB / 0.6839 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.1512, allocations: 87.91 kB / 0.684 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.1516, allocations: 147.1 kB / 0.6842 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.1523, allocations: 233.8 kB / 0.6844 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.1523, allocations: 3.984 kB / 0.6844 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008871/0.1532, allocations: 297.1 kB / 0.6847 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1532, allocations: 7.984 kB / 0.6847 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1532, allocations: 11.94 kB / 0.6847 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1533, allocations: 4.156 kB / 0.6847 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.1536, allocations: 63.89 kB / 0.6847 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1536, allocations: 4 kB / 0.6848 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.1538, allocations: 43.8 kB / 0.6848 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1539, allocations: 8 kB / 0.6848 GB, free: 0.6289 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * 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.0001185/0.154, allocations: 130.4 kB / 0.6849 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1541, allocations: 31.8 kB / 0.685 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008327/0.155, allocations: 291.8 kB / 0.6852 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.155, allocations: 8 kB / 0.6852 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.155, allocations: 0 / 0.6852 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.155, allocations: 0 / 0.6852 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.1554, allocations: 297.3 kB / 0.6855 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1554, allocations: 4 kB / 0.6855 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.1557, allocations: 51.95 kB / 0.6856 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1557, allocations: 4 kB / 0.6856 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1557, allocations: 0 / 0.6856 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1557, allocations: 0 / 0.6856 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.1557, allocations: 11.94 kB / 0.6856 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008599/0.1566, allocations: 444.4 kB / 0.686 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.1567, allocations: 112.8 kB / 0.6861 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.1567, allocations: 4 kB / 0.6861 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.157, allocations: 24.25 kB / 0.6862 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.1571, allocations: 19.97 kB / 0.6862 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1571, allocations: 8 kB / 0.6862 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001644/0.1573, allocations: 193.9 kB / 0.6864 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.423e-06/0.1573, allocations: 4 kB / 0.6864 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003636/0.1576, allocations: 59.88 kB / 0.6864 GB, free: 14.87 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.00118/0.1588, allocations: 0.9808 MB / 0.6874 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007625/0.1596, allocations: 229.1 kB / 0.6876 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1596, allocations: 0 / 0.6876 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.16, allocations: 115.8 kB / 0.6877 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.1605, allocations: 73.41 kB / 0.6878 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.1646, allocations: 2.7 MB / 0.6904 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1649, allocations: 0.7557 MB / 0.6912 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.165, allocations: 38.42 kB / 0.6912 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.1652, allocations: 83.41 kB / 0.6913 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.1652, allocations: 0 / 0.6913 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.1875, allocations: 6.589 MB / 0.6977 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.78, allocations: 12.31 kB / 0.6977 GB, free: 3.34 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)