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/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.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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.9513/0.9513, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.002441, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1522, allocations: 82.05 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005688/0.1579, allocations: 4.536 MB / 0.5988 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.1589, allocations: 0.8108 MB / 0.5996 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.159, allocations: 4 kB / 0.5996 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.1592, allocations: 31.77 kB / 0.5997 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.1592, allocations: 31.7 kB / 0.5997 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1597, allocations: 171.4 kB / 0.5999 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1599, allocations: 187.3 kB / 0.6 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.16, allocations: 17.09 kB / 0.6001 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1602, allocations: 75.77 kB / 0.6001 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.985e-05/0.1603, allocations: 79.72 kB / 0.6002 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1603, allocations: 16 kB / 0.6002 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.1606, allocations: 151.8 kB / 0.6004 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.1607, allocations: 31.84 kB / 0.6004 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.1608, allocations: 67.72 kB / 0.6005 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.1611, allocations: 247.5 kB / 0.6007 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1611, allocations: 0 / 0.6007 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.497e-06/0.1611, allocations: 0 / 0.6007 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.1611, allocations: 3.938 kB / 0.6007 GB, free: 3.012 MB / 0.4981 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.0007975/0.1619, allocations: 486.9 kB / 0.6012 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.162, allocations: 8.031 kB / 0.6012 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.162, allocations: 42.75 kB / 0.6012 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1621, allocations: 12.75 kB / 0.6012 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1622, allocations: 180.2 kB / 0.6014 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1622, allocations: 8.375 kB / 0.6014 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1623, allocations: 12.38 kB / 0.6014 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.1626, allocations: 121.5 kB / 0.6015 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1626, allocations: 7.984 kB / 0.6015 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1626, allocations: 3.938 kB / 0.6015 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1626, allocations: 0 / 0.6015 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.163, allocations: 139.9 kB / 0.6017 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.164, allocations: 472.4 kB / 0.6021 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.1643, allocations: 126.5 kB / 0.6022 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1645, allocations: 76.73 kB / 0.6023 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/0.1658, allocations: 0.9568 MB / 0.6033 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1659, allocations: 34.56 kB / 0.6033 GB, free: 52 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1659, allocations: 4 kB / 0.6033 GB, free: 48 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.2226/0.3885, allocations: 205.1 kB / 0.6035 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.3886, allocations: 52.78 kB / 0.6035 GB, free: 44.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3887, allocations: 165.7 kB / 0.6037 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3887, allocations: 30.14 kB / 0.6037 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.3888, allocations: 110.6 kB / 0.6038 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.3888, allocations: 38.08 kB / 0.6039 GB, free: 44.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.3889, allocations: 49.44 kB / 0.6039 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.3889, allocations: 327.1 kB / 0.6042 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3892, allocations: 74.47 kB / 0.6043 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3894, allocations: 110.3 kB / 0.6044 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.3898, allocations: 171.6 kB / 0.6046 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3898, allocations: 2.5 kB / 0.6046 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005094/0.3903, allocations: 241.7 kB / 0.6048 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3903, allocations: 13.34 kB / 0.6048 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3903, allocations: 3.656 kB / 0.6048 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3904, allocations: 0 / 0.6048 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.3906, allocations: 58.27 kB / 0.6049 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3906, allocations: 5.094 kB / 0.6049 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3908, allocations: 31.53 kB / 0.6049 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.3908, allocations: 5.812 kB / 0.6049 GB, free: 44.19 MB / 0.4981 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 6.122e-05/0.3909, allocations: 123.6 kB / 0.605 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.3909, allocations: 17.34 kB / 0.605 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.3914, allocations: 183.4 kB / 0.6052 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3914, allocations: 3 kB / 0.6052 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3914, allocations: 0 / 0.6052 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3914, allocations: 0 / 0.6052 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.3916, allocations: 220.7 kB / 0.6054 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3916, allocations: 0 / 0.6054 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.3917, allocations: 35.66 kB / 0.6055 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3917, allocations: 0 / 0.6055 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3918, allocations: 10.28 kB / 0.6055 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3918, allocations: 0 / 0.6055 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3918, allocations: 3.25 kB / 0.6055 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.3922, allocations: 248.5 kB / 0.6057 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.3922, allocations: 108 kB / 0.6058 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3923, allocations: 8 kB / 0.6058 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3924, allocations: 11.84 kB / 0.6058 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3924, allocations: 14.8 kB / 0.6059 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3925, allocations: 3.562 kB / 0.6059 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.3925, allocations: 115.8 kB / 0.606 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3925, allocations: 5.062 kB / 0.606 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003195/0.3928, allocations: 55.38 kB / 0.606 GB, free: 43.52 MB / 0.4981 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.0006798/0.3935, allocations: 0.8534 MB / 0.6069 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.394, allocations: 176.6 kB / 0.607 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.394, allocations: 3.656 kB / 0.607 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.3942, allocations: 69.36 kB / 0.6071 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.3946, allocations: 18.19 kB / 0.6071 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.3966, allocations: 1.946 MB / 0.609 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3967, allocations: 0.7083 MB / 0.6097 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.725e-05/0.3968, allocations: 23.83 kB / 0.6097 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.3969, allocations: 35.14 kB / 0.6098 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3969, allocations: 2.438 kB / 0.6098 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.4167, allocations: 4.31 MB / 0.614 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.514, allocations: 6.891 kB / 0.614 GB, free: 40.43 MB / 0.4981 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)