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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001411/0.001411, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001438/0.001439, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.039/1.039, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002961, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1761, allocations: 83.41 MB / 0.5974 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005252/0.1814, allocations: 3.845 MB / 0.6011 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1825, allocations: 0.7102 MB / 0.6018 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.1825, allocations: 3.938 kB / 0.6018 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1827, allocations: 23.83 kB / 0.6018 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.1828, allocations: 39.91 kB / 0.6019 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.1832, allocations: 131.7 kB / 0.602 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1833, allocations: 107.8 kB / 0.6021 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1834, allocations: 25.09 kB / 0.6021 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1836, allocations: 71.75 kB / 0.6022 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1837, allocations: 71.72 kB / 0.6023 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1837, allocations: 8 kB / 0.6023 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.184, allocations: 115.9 kB / 0.6024 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.1841, allocations: 23.91 kB / 0.6024 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.1841, allocations: 45.64 kB / 0.6024 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.1844, allocations: 167.8 kB / 0.6026 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1844, allocations: 4 kB / 0.6026 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1844, allocations: 0 / 0.6026 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1844, allocations: 0 / 0.6026 GB, free: 2.297 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.0008249/0.1852, allocations: 469.2 kB / 0.6031 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1853, allocations: 11.97 kB / 0.6031 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.1853, allocations: 42.55 kB / 0.6031 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1854, allocations: 11.81 kB / 0.6031 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1855, allocations: 178.9 kB / 0.6033 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1855, allocations: 8 kB / 0.6033 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1855, allocations: 12 kB / 0.6033 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.1859, allocations: 139.4 kB / 0.6034 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1859, allocations: 3.938 kB / 0.6034 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1859, allocations: 4 kB / 0.6035 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1859, allocations: 0 / 0.6035 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.1864, allocations: 163.9 kB / 0.6036 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1874, allocations: 476.4 kB / 0.6041 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.1877, allocations: 138.5 kB / 0.6042 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3318/0.5195, allocations: 0.9539 MB / 0.6051 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.5196, allocations: 32.62 kB / 0.6052 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.5196, allocations: 0.9062 kB / 0.6052 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007443/0.5203, allocations: 240.3 kB / 0.6054 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.5204, allocations: 56.06 kB / 0.6054 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.5205, allocations: 165.9 kB / 0.6056 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.5205, allocations: 33.58 kB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.5206, allocations: 111.9 kB / 0.6057 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.5206, allocations: 41.56 kB / 0.6058 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.5207, allocations: 3.844 kB / 0.6058 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.5207, allocations: 327.4 kB / 0.6061 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.5209, allocations: 84.33 kB / 0.6062 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.5212, allocations: 122.4 kB / 0.6063 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.5214, allocations: 96.52 kB / 0.6064 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5214, allocations: 0 / 0.6064 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005284/0.522, allocations: 266.3 kB / 0.6066 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.522, allocations: 6.094 kB / 0.6066 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.522, allocations: 0 / 0.6066 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.522, allocations: 7.281 kB / 0.6066 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.5223, allocations: 55.34 kB / 0.6067 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5223, allocations: 4.719 kB / 0.6067 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.5225, allocations: 34.31 kB / 0.6067 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.5225, allocations: 12.19 kB / 0.6067 GB, free: 40.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/0.5226, allocations: 130.6 kB / 0.6069 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.5227, allocations: 13.66 kB / 0.6069 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.5231, allocations: 203.3 kB / 0.6071 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5232, allocations: 3.469 kB / 0.6071 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5232, allocations: 0 / 0.6071 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5232, allocations: 3.844 kB / 0.6071 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.5234, allocations: 213 kB / 0.6073 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5234, allocations: 0.5 kB / 0.6073 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.5235, allocations: 37.38 kB / 0.6073 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5235, allocations: 0 / 0.6073 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.5236, allocations: 3.562 kB / 0.6073 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5236, allocations: 4.656 kB / 0.6073 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.5236, allocations: 0 / 0.6073 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.524, allocations: 285.1 kB / 0.6076 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.5241, allocations: 99.27 kB / 0.6077 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.5241, allocations: 8.891 kB / 0.6077 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.5243, allocations: 24.53 kB / 0.6077 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.5243, allocations: 17.89 kB / 0.6078 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.5243, allocations: 5.938 kB / 0.6078 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.781e-05/0.5244, allocations: 111.9 kB / 0.6079 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5244, allocations: 0 / 0.6079 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003434/0.5247, allocations: 60.56 kB / 0.6079 GB, free: 39.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007653/0.5255, allocations: 0.8633 MB / 0.6088 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.526, allocations: 195.2 kB / 0.6089 GB, free: 39.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.526, allocations: 4.188 kB / 0.609 GB, free: 39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.5262, allocations: 79.42 kB / 0.609 GB, free: 39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.5265, allocations: 19.25 kB / 0.609 GB, free: 39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.5273, allocations: 1.056 MB / 0.6101 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.5274, allocations: 0.7042 MB / 0.6108 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.5276, allocations: 23.3 kB / 0.6108 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.5276, allocations: 34.2 kB / 0.6108 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.5276, allocations: 0 / 0.6108 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.5427, allocations: 4.02 MB / 0.6147 GB, free: 37.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.5429, allocations: 209.8 kB / 0.6149 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.373, allocations: 0 / 0.6149 GB, free: 36.87 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/linux/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) Environment - environmentSimulation: