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.001084/0.001083, 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.001176/0.001176, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.9156/0.9156, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1349, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005394/0.1404, allocations: 4.543 MB / 0.5988 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.1413, allocations: 0.8108 MB / 0.5996 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.1414, allocations: 0 / 0.5996 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.1415, allocations: 31.75 kB / 0.5996 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.1416, allocations: 27.72 kB / 0.5997 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.142, allocations: 175.4 kB / 0.5998 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1422, allocations: 179.3 kB / 0.6 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.1423, allocations: 21.11 kB / 0.6 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1425, allocations: 83.7 kB / 0.6001 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.1426, allocations: 75.72 kB / 0.6002 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1426, allocations: 12 kB / 0.6002 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1429, allocations: 159.8 kB / 0.6004 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.1429, allocations: 31.84 kB / 0.6004 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.143, allocations: 63.72 kB / 0.6004 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1433, allocations: 247.5 kB / 0.6007 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1433, allocations: 0 / 0.6007 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1433, allocations: 4 kB / 0.6007 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1433, allocations: 0 / 0.6007 GB, free: 3.02 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.0007267/0.1441, allocations: 478.9 kB / 0.6011 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1441, allocations: 12.03 kB / 0.6011 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.1441, allocations: 42.67 kB / 0.6012 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1442, allocations: 20.75 kB / 0.6012 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1443, allocations: 172.8 kB / 0.6014 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1443, allocations: 12.38 kB / 0.6014 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1443, allocations: 8.375 kB / 0.6014 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1446, allocations: 121.5 kB / 0.6015 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1447, allocations: 3.938 kB / 0.6015 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1447, allocations: 3.938 kB / 0.6015 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1447, allocations: 4 kB / 0.6015 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.1451, allocations: 143.9 kB / 0.6017 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.1459, allocations: 472.4 kB / 0.6021 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1462, allocations: 125.3 kB / 0.6022 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1464, allocations: 68.81 kB / 0.6023 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.1477, allocations: 0.9723 MB / 0.6032 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1477, allocations: 30.56 kB / 0.6033 GB, free: 60 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1477, allocations: 0 / 0.6033 GB, free: 60 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.2038/0.3515, allocations: 210 kB / 0.6035 GB, free: 44.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.3515, allocations: 55.52 kB / 0.6035 GB, free: 44.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3517, allocations: 165.8 kB / 0.6037 GB, free: 44.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.3517, allocations: 31.05 kB / 0.6037 GB, free: 44.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.3517, allocations: 106.6 kB / 0.6038 GB, free: 44.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3518, allocations: 37.28 kB / 0.6039 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.3518, allocations: 50.67 kB / 0.6039 GB, free: 44.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.3519, allocations: 324.1 kB / 0.6042 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.3521, allocations: 75.38 kB / 0.6043 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.3523, allocations: 111.2 kB / 0.6044 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.3527, allocations: 169.8 kB / 0.6045 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3527, allocations: 4.031 kB / 0.6046 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004842/0.3532, allocations: 243.3 kB / 0.6048 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3532, allocations: 10.94 kB / 0.6048 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3532, allocations: 0 / 0.6048 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3532, allocations: 7.203 kB / 0.6048 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.3535, allocations: 61.78 kB / 0.6049 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3535, allocations: 0 / 0.6049 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3537, allocations: 27.25 kB / 0.6049 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.3537, allocations: 14.03 kB / 0.6049 GB, free: 44.23 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.251e-05/0.3538, allocations: 121.3 kB / 0.605 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.3538, allocations: 19.42 kB / 0.605 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.3542, allocations: 176.2 kB / 0.6052 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3542, allocations: 1.359 kB / 0.6052 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3542, allocations: 0 / 0.6052 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3543, allocations: 8.75 kB / 0.6052 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.3544, allocations: 219.7 kB / 0.6054 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3544, allocations: 0 / 0.6054 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3546, allocations: 31.97 kB / 0.6055 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3546, allocations: 4.812 kB / 0.6055 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3546, allocations: 0 / 0.6055 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3546, allocations: 0 / 0.6055 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3546, allocations: 0 / 0.6055 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.355, allocations: 261.2 kB / 0.6057 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.355, allocations: 105.9 kB / 0.6058 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.355, allocations: 3.938 kB / 0.6058 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3552, allocations: 14.36 kB / 0.6058 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.3552, allocations: 12.05 kB / 0.6058 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3552, allocations: 3.094 kB / 0.6058 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.3553, allocations: 119.3 kB / 0.606 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3553, allocations: 0 / 0.606 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000308/0.3556, allocations: 60.94 kB / 0.606 GB, free: 43.56 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.0006559/0.3563, allocations: 0.8547 MB / 0.6068 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.3567, allocations: 175.4 kB / 0.607 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3567, allocations: 2.75 kB / 0.607 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3569, allocations: 72.09 kB / 0.6071 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3573, allocations: 20.97 kB / 0.6071 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3592, allocations: 1.943 MB / 0.609 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.515e-05/0.3593, allocations: 0.7047 MB / 0.6097 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.244e-05/0.3594, allocations: 27.34 kB / 0.6097 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.3595, allocations: 35.3 kB / 0.6097 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3595, allocations: 0 / 0.6097 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.638/2.998, allocations: 4.31 MB / 0.614 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.063/12.06, allocations: 12.58 kB / 0.614 GB, free: 40.44 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)