Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.574/1.574, allocations: 287.4 MB / 302.5 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 181.4 kB / 371.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009009/0.0009009, allocations: 97.7 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 16.66 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004878/0.2323, allocations: 4.093 MB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.2333, allocations: 0.7646 MB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.2335, allocations: 0 / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.2337, allocations: 15.91 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.747e-05/0.2339, allocations: 31.77 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.2345, allocations: 131.5 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.2347, allocations: 155.4 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.2348, allocations: 21.11 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.235, allocations: 71.75 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2351, allocations: 71.73 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2351, allocations: 4 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.2354, allocations: 119.8 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.2355, allocations: 23.91 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.2355, allocations: 45.64 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.2358, allocations: 167.8 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2358, allocations: 4 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2358, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.2358, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 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.0007809/0.2366, allocations: 471 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2367, allocations: 8.031 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.2367, allocations: 42.75 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.2368, allocations: 12.75 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2369, allocations: 184.2 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2369, allocations: 12.12 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.237, allocations: 12 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2373, allocations: 132.1 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2373, allocations: 0 / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2373, allocations: 4 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2373, allocations: 4 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.2377, allocations: 167.7 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009025/0.2386, allocations: 468.5 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.2389, allocations: 130.5 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.2391, allocations: 92.8 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.2403, allocations: 0.9566 MB / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2403, allocations: 34.5 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.2403, allocations: 0 / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006259/0.2409, allocations: 245.4 kB / 0.9872 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.241, allocations: 55.34 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2411, allocations: 164.2 kB / 0.9874 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2411, allocations: 33.7 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.2412, allocations: 104.4 kB / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.2412, allocations: 35.38 kB / 0.9876 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/0.2412, allocations: 4 kB / 0.9876 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.2413, allocations: 326.8 kB / 0.9879 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.2415, allocations: 83.94 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.2417, allocations: 128.6 kB / 0.9881 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.2421, allocations: 195 kB / 0.9883 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2421, allocations: 0 / 0.9883 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004945/0.2426, allocations: 261.4 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2426, allocations: 8.094 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2427, allocations: 0 / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2427, allocations: 4 kB / 0.9885 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.2429, allocations: 59.91 kB / 0.9886 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2429, allocations: 4 kB / 0.9886 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2431, allocations: 39.66 kB / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.2431, allocations: 12 kB / 0.9886 GB, free: 17.58 MB / 0.6198 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 8.254e-05/0.2432, allocations: 129.7 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.2433, allocations: 11.84 kB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.2437, allocations: 199.3 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2437, allocations: 4 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2437, allocations: 0 / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2437, allocations: 0 / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.2439, allocations: 221.4 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2439, allocations: 4 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.2441, allocations: 43.84 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2441, allocations: 0 / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2441, allocations: 0 / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2441, allocations: 0 / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2441, allocations: 4 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.2445, allocations: 279.2 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.2446, allocations: 108.9 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2446, allocations: 4 kB / 0.9896 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2447, allocations: 15.98 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.2448, allocations: 11.98 kB / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2448, allocations: 4 kB / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.2449, allocations: 120.9 kB / 0.9897 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2449, allocations: 0 / 0.9897 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003078/0.2452, allocations: 68.3 kB / 0.9898 GB, free: 16.28 MB / 0.6198 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.0007697/0.246, allocations: 0.8605 MB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.2464, allocations: 191.9 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2464, allocations: 0 / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.2466, allocations: 75.89 kB / 0.9909 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.247, allocations: 31.92 kB / 0.9909 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2485, allocations: 1.015 MB / 0.9919 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2487, allocations: 0.7084 MB / 0.9926 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.2488, allocations: 17.62 kB / 0.9926 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.2489, allocations: 36.42 kB / 0.9927 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2489, allocations: 0 / 0.9927 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/0.4058, allocations: 3.997 MB / 0.9966 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.406, allocations: 210.5 kB / 0.9968 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.658, allocations: 0 / 0.9968 GB, free: 9.184 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)