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.0007084/0.0007084, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00428/0.00428, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.211/1.211, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.8879/0.8879, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 16.28 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 83.4 MB / 0.598 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00431/0.1485, allocations: 4.196 MB / 0.6021 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000912/0.1494, allocations: 0.8149 MB / 0.6029 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.1495, allocations: 4 kB / 0.6029 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.1496, allocations: 23.84 kB / 0.6029 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.1497, allocations: 31.75 kB / 0.6029 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.15, allocations: 143.6 kB / 0.603 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1502, allocations: 175.3 kB / 0.6032 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.1503, allocations: 21.09 kB / 0.6032 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.1505, allocations: 67.75 kB / 0.6033 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.1506, allocations: 71.73 kB / 0.6034 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1506, allocations: 8 kB / 0.6034 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.1509, allocations: 143.8 kB / 0.6035 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.1509, allocations: 31.84 kB / 0.6035 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.151, allocations: 81.42 kB / 0.6036 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1513, allocations: 235.5 kB / 0.6038 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1513, allocations: 0 / 0.6038 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1513, allocations: 3.938 kB / 0.6039 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1513, allocations: 4 kB / 0.6039 GB, free: 1.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.000725/0.152, allocations: 467 kB / 0.6043 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1521, allocations: 8.031 kB / 0.6043 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.1521, allocations: 46.75 kB / 0.6044 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.1522, allocations: 16.75 kB / 0.6044 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1523, allocations: 185.6 kB / 0.6045 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1523, allocations: 12.31 kB / 0.6046 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1524, allocations: 8.375 kB / 0.6046 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.1527, allocations: 127.1 kB / 0.6047 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1527, allocations: 7.984 kB / 0.6047 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1527, allocations: 11.94 kB / 0.6047 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1527, allocations: 0 / 0.6047 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.1531, allocations: 163.8 kB / 0.6049 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2125/0.3656, allocations: 467.3 kB / 0.6053 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.366, allocations: 138.1 kB / 0.6054 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.3662, allocations: 81.19 kB / 0.6055 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.3672, allocations: 0.9586 MB / 0.6065 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.3673, allocations: 38.94 kB / 0.6065 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.3673, allocations: 2.812 kB / 0.6065 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005914/0.3679, allocations: 242.2 kB / 0.6067 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.3679, allocations: 58.34 kB / 0.6068 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.368, allocations: 167.6 kB / 0.6069 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.368, allocations: 28.39 kB / 0.607 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.368, allocations: 107 kB / 0.6071 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.3681, allocations: 46.12 kB / 0.6071 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.3681, allocations: 29.78 kB / 0.6071 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.3682, allocations: 324 kB / 0.6074 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.3684, allocations: 88.28 kB / 0.6075 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.3686, allocations: 116.6 kB / 0.6076 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.3689, allocations: 202.1 kB / 0.6078 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3689, allocations: 0 / 0.6078 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004792/0.3694, allocations: 266.8 kB / 0.6081 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3695, allocations: 5.5 kB / 0.6081 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3695, allocations: 0.5469 kB / 0.6081 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3695, allocations: 2.656 kB / 0.6081 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.3697, allocations: 65.59 kB / 0.6082 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3697, allocations: 2.562 kB / 0.6082 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.3699, allocations: 39.62 kB / 0.6082 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3699, allocations: 8.031 kB / 0.6082 GB, free: 39.85 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.29e-05/0.37, allocations: 122.9 kB / 0.6083 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.37, allocations: 14.72 kB / 0.6083 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.3704, allocations: 203.9 kB / 0.6085 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3705, allocations: 0 / 0.6085 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3705, allocations: 3.125 kB / 0.6085 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3705, allocations: 0 / 0.6085 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.3706, allocations: 219.8 kB / 0.6087 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3706, allocations: 0 / 0.6087 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3708, allocations: 42.38 kB / 0.6088 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3708, allocations: 0 / 0.6088 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3708, allocations: 4.875 kB / 0.6088 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3708, allocations: 0 / 0.6088 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3708, allocations: 0 / 0.6088 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.3712, allocations: 286 kB / 0.6091 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3712, allocations: 94.81 kB / 0.6092 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3713, allocations: 9.844 kB / 0.6092 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3714, allocations: 21.33 kB / 0.6092 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3714, allocations: 10.16 kB / 0.6092 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3714, allocations: 4.312 kB / 0.6092 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.3715, allocations: 117 kB / 0.6093 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3715, allocations: 0 / 0.6093 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002882/0.3718, allocations: 63.47 kB / 0.6094 GB, free: 39.17 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.0006228/0.3724, allocations: 0.868 MB / 0.6102 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.3729, allocations: 195 kB / 0.6104 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3729, allocations: 7.062 kB / 0.6104 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.373, allocations: 76.02 kB / 0.6105 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.3734, allocations: 21.83 kB / 0.6105 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3752, allocations: 2.043 MB / 0.6125 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.316e-05/0.3753, allocations: 0.7088 MB / 0.6132 GB, free: 36.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.933e-05/0.3754, allocations: 21.92 kB / 0.6132 GB, free: 36.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.3755, allocations: 39.73 kB / 0.6133 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3755, allocations: 0 / 0.6133 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.549/1.925, allocations: 3.958 MB / 0.6171 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/1.925, allocations: 232.9 kB / 0.6173 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/4.581, allocations: 0.8438 kB / 0.6173 GB, free: 35.92 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)