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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001097/0.001097, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.8507/0.8507, allocations: 143 MB / 433 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 63.89 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1281, allocations: 82.04 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004877/0.133, allocations: 4.577 MB / 0.5982 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000842/0.1338, allocations: 0.8187 MB / 0.599 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.1339, allocations: 3.938 kB / 0.599 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.134, allocations: 23.89 kB / 0.599 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.1341, allocations: 31.78 kB / 0.5991 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.1345, allocations: 147.5 kB / 0.5992 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1346, allocations: 171.3 kB / 0.5994 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.1347, allocations: 25.09 kB / 0.5994 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1348, allocations: 67.77 kB / 0.5995 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.1349, allocations: 67.73 kB / 0.5995 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1349, allocations: 8 kB / 0.5995 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.1352, allocations: 151.7 kB / 0.5997 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.1352, allocations: 31.84 kB / 0.5997 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.1353, allocations: 51.73 kB / 0.5997 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.1356, allocations: 243.5 kB / 0.6 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1356, allocations: 7.938 kB / 0.6 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.61e-07/0.1356, allocations: 0 / 0.6 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.1356, allocations: 0 / 0.6 GB, free: 3.535 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.0007141/0.1363, allocations: 482.9 kB / 0.6004 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1363, allocations: 8.031 kB / 0.6005 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.1364, allocations: 42.75 kB / 0.6005 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1364, allocations: 12.75 kB / 0.6005 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.1365, allocations: 188.2 kB / 0.6007 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1365, allocations: 4.375 kB / 0.6007 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1366, allocations: 12.38 kB / 0.6007 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.1369, allocations: 117.6 kB / 0.6008 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1369, allocations: 0 / 0.6008 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1369, allocations: 7.938 kB / 0.6008 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1369, allocations: 4 kB / 0.6008 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.1373, allocations: 139.9 kB / 0.601 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.1381, allocations: 476.3 kB / 0.6014 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1384, allocations: 126.5 kB / 0.6015 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.1385, allocations: 74.94 kB / 0.6016 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.1397, allocations: 0.9607 MB / 0.6025 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.1397, allocations: 34.56 kB / 0.6026 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 3.005e-06/0.1397, allocations: 3.984 kB / 0.6026 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005786/0.1403, allocations: 221.2 kB / 0.6028 GB, free: 356 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.1404, allocations: 51.41 kB / 0.6028 GB, free: 292 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1405, allocations: 170.2 kB / 0.603 GB, free: 116 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1405, allocations: 29.7 kB / 0.603 GB, free: 80 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2158/0.3563, allocations: 101 kB / 0.6031 GB, free: 44.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3564, allocations: 39.56 kB / 0.6032 GB, free: 44.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.3565, allocations: 53.94 kB / 0.6032 GB, free: 44.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.3565, allocations: 321.4 kB / 0.6035 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.3568, allocations: 72.52 kB / 0.6036 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.357, allocations: 111.3 kB / 0.6037 GB, free: 44.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.3573, allocations: 174.4 kB / 0.6039 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3574, allocations: 0 / 0.6039 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004738/0.3578, allocations: 244.2 kB / 0.6041 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3579, allocations: 6.156 kB / 0.6041 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3579, allocations: 3.906 kB / 0.6041 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3579, allocations: 0.5 kB / 0.6041 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.3581, allocations: 62.14 kB / 0.6042 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3582, allocations: 4.125 kB / 0.6042 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.3583, allocations: 30.56 kB / 0.6042 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.3583, allocations: 6.875 kB / 0.6042 GB, free: 44.54 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.554e-05/0.3584, allocations: 127.6 kB / 0.6043 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.3584, allocations: 10.59 kB / 0.6043 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/0.3588, allocations: 179.9 kB / 0.6045 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3589, allocations: 7.906 kB / 0.6045 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3589, allocations: 3.469 kB / 0.6045 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3589, allocations: 0 / 0.6045 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.359, allocations: 214.1 kB / 0.6047 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.359, allocations: 0 / 0.6047 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.3592, allocations: 32.77 kB / 0.6048 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3592, allocations: 0 / 0.6048 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3592, allocations: 7.531 kB / 0.6048 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3592, allocations: 3.938 kB / 0.6048 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3592, allocations: 0.5625 kB / 0.6048 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.3596, allocations: 256.9 kB / 0.605 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.3596, allocations: 102.5 kB / 0.6051 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3596, allocations: 0 / 0.6051 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3598, allocations: 23.88 kB / 0.6051 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.3598, allocations: 9.312 kB / 0.6051 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3598, allocations: 3.234 kB / 0.6051 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.3599, allocations: 118.8 kB / 0.6053 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3599, allocations: 0 / 0.6053 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003072/0.3602, allocations: 63.67 kB / 0.6053 GB, free: 43.87 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.0006332/0.3609, allocations: 0.8495 MB / 0.6062 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004123/0.3613, allocations: 176.3 kB / 0.6063 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3613, allocations: 1.312 kB / 0.6063 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.3615, allocations: 67.7 kB / 0.6064 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3618, allocations: 24.09 kB / 0.6064 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.3637, allocations: 1.98 MB / 0.6083 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.3639, allocations: 0.7058 MB / 0.609 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.569e-05/0.364, allocations: 20.73 kB / 0.6091 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.364, allocations: 32.5 kB / 0.6091 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.364, allocations: 0 / 0.6091 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3053/0.6694, allocations: 4.032 MB / 0.613 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.6696, allocations: 233.4 kB / 0.6132 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.316, allocations: 5.125 kB / 0.6132 GB, free: 40.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)