Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.00486/0.00486, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.0013/0.0013, allocations: 192.5 kB / 16.67 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9029/0.9029, allocations: 143.3 MB / 433.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 65.25 kB / 0.5953 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1386, allocations: 82.04 MB / 0.6754 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006084/0.1447, allocations: 4.558 MB / 0.6799 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1458, allocations: 0.8186 MB / 0.6807 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.1459, allocations: 0 / 0.6807 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1461, allocations: 23.78 kB / 0.6807 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.967e-05/0.1461, allocations: 35.64 kB / 0.6807 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.1466, allocations: 171.4 kB / 0.6809 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1468, allocations: 175.4 kB / 0.6811 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.1469, allocations: 21.11 kB / 0.6811 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1471, allocations: 87.67 kB / 0.6812 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1472, allocations: 71.73 kB / 0.6812 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1473, allocations: 12 kB / 0.6812 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.1476, allocations: 159.8 kB / 0.6814 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1477, allocations: 27.91 kB / 0.6814 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.1478, allocations: 71.64 kB / 0.6815 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.1481, allocations: 247.4 kB / 0.6817 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1482, allocations: 0 / 0.6817 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1482, allocations: 0 / 0.6817 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1482, allocations: 4 kB / 0.6817 GB, free: 4.227 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000911/0.1491, allocations: 486.5 kB / 0.6822 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1491, allocations: 8.031 kB / 0.6822 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.1492, allocations: 42.73 kB / 0.6822 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1492, allocations: 12.89 kB / 0.6823 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1494, allocations: 193.3 kB / 0.6824 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1494, allocations: 8.375 kB / 0.6824 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.1495, allocations: 12.38 kB / 0.6825 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.1498, allocations: 125.5 kB / 0.6826 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1498, allocations: 0 / 0.6826 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1499, allocations: 0 / 0.6826 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1499, allocations: 0 / 0.6826 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.1503, allocations: 143.9 kB / 0.6827 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1513, allocations: 476.3 kB / 0.6832 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1516, allocations: 122.5 kB / 0.6833 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.1519, allocations: 67.69 kB / 0.6834 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.1533, allocations: 0.9684 MB / 0.6843 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1534, allocations: 38.5 kB / 0.6843 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.1534, allocations: 0 / 0.6843 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007329/0.1541, allocations: 213.4 kB / 0.6845 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1542, allocations: 55.39 kB / 0.6846 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1543, allocations: 167.2 kB / 0.6848 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1543, allocations: 29.7 kB / 0.6848 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.1544, allocations: 108.5 kB / 0.6849 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.1545, allocations: 43.58 kB / 0.6849 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.1546, allocations: 49.7 kB / 0.685 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1547, allocations: 330.8 kB / 0.6853 GB, free: 228 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.155, allocations: 71.94 kB / 0.6854 GB, free: 156 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.1552, allocations: 117.9 kB / 0.6855 GB, free: 28 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.1557, allocations: 169.6 kB / 0.6856 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1557, allocations: 4 kB / 0.6856 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005936/0.1563, allocations: 237.3 kB / 0.6859 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1563, allocations: 6.812 kB / 0.6859 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1564, allocations: 7.938 kB / 0.6859 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1564, allocations: 0 / 0.6859 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.1567, allocations: 59.89 kB / 0.6859 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1567, allocations: 4 kB / 0.6859 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1568, allocations: 31.83 kB / 0.686 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.1569, allocations: 8.094 kB / 0.686 GB, free: 15.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001103/0.157, allocations: 125.8 kB / 0.6861 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.157, allocations: 15.84 kB / 0.6861 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/0.1575, allocations: 175.2 kB / 0.6863 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1576, allocations: 7.984 kB / 0.6863 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1576, allocations: 4 kB / 0.6863 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1576, allocations: 0 / 0.6863 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.1578, allocations: 217.5 kB / 0.6865 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1578, allocations: 0 / 0.6865 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.158, allocations: 31.97 kB / 0.6865 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.158, allocations: 0 / 0.6865 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.158, allocations: 3.938 kB / 0.6865 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.158, allocations: 3.938 kB / 0.6865 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.158, allocations: 0 / 0.6865 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.1585, allocations: 267.4 kB / 0.6868 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.1586, allocations: 97 kB / 0.6869 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1587, allocations: 7.922 kB / 0.6869 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.1588, allocations: 15.98 kB / 0.6869 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1589, allocations: 7.984 kB / 0.6869 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1589, allocations: 8 kB / 0.6869 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.165e-05/0.159, allocations: 119.5 kB / 0.687 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.159, allocations: 0 / 0.687 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000331/0.1593, allocations: 63.81 kB / 0.6871 GB, free: 14.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.0009676/0.1603, allocations: 0.8552 MB / 0.6879 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.1608, allocations: 169 kB / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1608, allocations: 0 / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.161, allocations: 71.89 kB / 0.6882 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1614, allocations: 24.17 kB / 0.6882 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.1641, allocations: 1.948 MB / 0.6901 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1645, allocations: 0.7045 MB / 0.6908 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.617e-05/0.1646, allocations: 21.45 kB / 0.6908 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.1647, allocations: 35.42 kB / 0.6908 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1647, allocations: 0 / 0.6908 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.1917, allocations: 4.356 MB / 0.6951 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.132, allocations: 7.984 kB / 0.6951 GB, free: 6.086 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)