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.001091/0.001091, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001102/0.001102, allocations: 197.8 kB / 16.25 MB, free: 6.621 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.457 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.9476/0.9476, allocations: 143 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.00106, allocations: 59.89 kB / 0.5138 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1702, allocations: 82.04 MB / 0.5939 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005898/0.1762, allocations: 4.566 MB / 0.5984 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1774, allocations: 0.8186 MB / 0.5992 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1776, allocations: 4 kB / 0.5992 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1778, allocations: 27.83 kB / 0.5992 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.178, allocations: 27.77 kB / 0.5992 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.1788, allocations: 155.5 kB / 0.5994 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.1791, allocations: 171.4 kB / 0.5995 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1792, allocations: 25.09 kB / 0.5996 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.1795, allocations: 79.75 kB / 0.5996 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1797, allocations: 75.72 kB / 0.5997 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.1798, allocations: 16 kB / 0.5997 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.1803, allocations: 155.8 kB / 0.5999 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.1804, allocations: 39.83 kB / 0.5999 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.314e-05/0.1804, allocations: 63.72 kB / 0.6 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.1811, allocations: 247.6 kB / 0.6002 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.1811, allocations: 4 kB / 0.6002 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1811, allocations: 0 / 0.6002 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.1811, allocations: 0 / 0.6002 GB, free: 3.332 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.001165/0.1823, allocations: 481.1 kB / 0.6007 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.1824, allocations: 8.031 kB / 0.6007 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.1824, allocations: 38.75 kB / 0.6007 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.1825, allocations: 20.73 kB / 0.6007 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1827, allocations: 180.8 kB / 0.6009 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1828, allocations: 8.375 kB / 0.6009 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1828, allocations: 12.38 kB / 0.6009 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.1832, allocations: 129.5 kB / 0.6011 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1832, allocations: 0 / 0.6011 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1832, allocations: 0 / 0.6011 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.1832, allocations: 4 kB / 0.6011 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.1836, allocations: 135.9 kB / 0.6012 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1847, allocations: 464.4 kB / 0.6016 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.1851, allocations: 137.2 kB / 0.6018 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.1853, allocations: 68.81 kB / 0.6018 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/0.1868, allocations: 0.9687 MB / 0.6028 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1869, allocations: 30.56 kB / 0.6028 GB, free: 388 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.1869, allocations: 4 kB / 0.6028 GB, free: 384 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006989/0.1876, allocations: 213.3 kB / 0.603 GB, free: 164 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1876, allocations: 59.34 kB / 0.6031 GB, free: 92 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2466/0.4342, allocations: 165.9 kB / 0.6032 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.4343, allocations: 31.23 kB / 0.6032 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.4344, allocations: 108.4 kB / 0.6034 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.4344, allocations: 39.36 kB / 0.6034 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.4345, allocations: 53.42 kB / 0.6034 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.4345, allocations: 320.2 kB / 0.6037 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4348, allocations: 74.78 kB / 0.6038 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.435, allocations: 109.3 kB / 0.6039 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.4353, allocations: 176 kB / 0.6041 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4353, allocations: 2.781 kB / 0.6041 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004628/0.4358, allocations: 241.5 kB / 0.6043 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4358, allocations: 6.688 kB / 0.6043 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4358, allocations: 3.75 kB / 0.6043 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4359, allocations: 3.031 kB / 0.6043 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.4361, allocations: 56.45 kB / 0.6044 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4361, allocations: 5.5 kB / 0.6044 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.4363, allocations: 34.97 kB / 0.6044 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.4363, allocations: 9.094 kB / 0.6044 GB, free: 43.87 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.475e-05/0.4364, allocations: 125.1 kB / 0.6046 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.4364, allocations: 14.97 kB / 0.6046 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.4368, allocations: 178.2 kB / 0.6047 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4368, allocations: 2.719 kB / 0.6047 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.4368, allocations: 0 / 0.6047 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.4368, allocations: 3.469 kB / 0.6047 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.437, allocations: 210.9 kB / 0.6049 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.437, allocations: 5.594 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.4371, allocations: 31.47 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4372, allocations: 3.938 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.4372, allocations: 2.656 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4372, allocations: 0.6875 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4372, allocations: 1.594 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.4375, allocations: 261.2 kB / 0.6052 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.4376, allocations: 96.91 kB / 0.6053 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4376, allocations: 10.16 kB / 0.6053 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4377, allocations: 12.69 kB / 0.6054 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.4378, allocations: 12.45 kB / 0.6054 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.4378, allocations: 6.594 kB / 0.6054 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.4379, allocations: 110 kB / 0.6055 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4379, allocations: 0 / 0.6055 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003024/0.4382, allocations: 61.47 kB / 0.6055 GB, free: 43.21 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.0006296/0.4388, allocations: 0.8593 MB / 0.6064 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.4392, allocations: 180 kB / 0.6065 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.4392, allocations: 0 / 0.6065 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4394, allocations: 73.28 kB / 0.6066 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4397, allocations: 19.86 kB / 0.6066 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.4415, allocations: 1.962 MB / 0.6086 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.4416, allocations: 0.7075 MB / 0.6092 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.948e-05/0.4418, allocations: 24.89 kB / 0.6093 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.4418, allocations: 35.22 kB / 0.6093 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4418, allocations: 0 / 0.6093 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07037/0.5122, allocations: 4.123 MB / 0.6133 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.5124, allocations: 234.2 kB / 0.6136 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.128, allocations: 5.656 kB / 0.6136 GB, free: 39.94 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)