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 2.757/2.757, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.00165/0.001651, allocations: 185 kB / 370.8 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 2.117/2.117, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001206/0.001206, allocations: 102.2 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004723, allocations: 13.53 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005392/0.2204, allocations: 3.888 MB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2216, allocations: 0.7063 MB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.2217, allocations: 0 / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.2219, allocations: 23.89 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.456e-05/0.222, allocations: 35.86 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.2226, allocations: 147.6 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.2227, allocations: 103.8 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2229, allocations: 13.11 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.2231, allocations: 63.83 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.2232, allocations: 75.72 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.2232, allocations: 8 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.2237, allocations: 127.8 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.2237, allocations: 19.92 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.2237, allocations: 53.62 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.2241, allocations: 151.9 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2241, allocations: 0 / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2241, allocations: 0 / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2241, allocations: 0 / 0.9836 GB, free: 22.86 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.001006/0.2251, allocations: 476.8 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2252, allocations: 12.02 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.2252, allocations: 38.56 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.2253, allocations: 23.77 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2254, allocations: 178.8 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2254, allocations: 8 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.2255, allocations: 12 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.226, allocations: 125.6 kB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.226, allocations: 4 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.226, allocations: 0 / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.226, allocations: 7.953 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.2268, allocations: 159.9 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.2281, allocations: 476.4 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.2286, allocations: 138.5 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/0.2305, allocations: 0.9567 MB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2305, allocations: 34.56 kB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 3.466e-06/0.2305, allocations: 0 / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.001073/0.2316, allocations: 241.7 kB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2317, allocations: 59.41 kB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.2318, allocations: 164.1 kB / 0.9866 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2319, allocations: 29.7 kB / 0.9866 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.2319, allocations: 108.4 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.232, allocations: 35.47 kB / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.232, allocations: 0 / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.2321, allocations: 334.8 kB / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.2325, allocations: 79.95 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.2329, allocations: 124.7 kB / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.2333, allocations: 86.2 kB / 0.9873 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2333, allocations: 11.94 kB / 0.9873 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009271/0.2342, allocations: 273 kB / 0.9876 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2343, allocations: 10.12 kB / 0.9876 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.425e-06/0.2343, allocations: 0 / 0.9876 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.483e-05/0.2343, allocations: 4 kB / 0.9876 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.2348, allocations: 59.91 kB / 0.9877 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2348, allocations: 4 kB / 0.9877 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.2351, allocations: 39.84 kB / 0.9877 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.2352, allocations: 8 kB / 0.9877 GB, free: 18.24 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 0.0001098/0.2353, allocations: 129.7 kB / 0.9878 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.2353, allocations: 11.81 kB / 0.9879 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/0.2361, allocations: 199 kB / 0.988 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2362, allocations: 3.984 kB / 0.988 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2362, allocations: 8 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2362, allocations: 0 / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.2365, allocations: 225.4 kB / 0.9883 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2365, allocations: 0 / 0.9883 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.2368, allocations: 43.91 kB / 0.9883 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.2368, allocations: 3.938 kB / 0.9883 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2368, allocations: 0 / 0.9883 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2368, allocations: 0 / 0.9883 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2368, allocations: 4 kB / 0.9883 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.2376, allocations: 271.4 kB / 0.9886 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.2377, allocations: 104.9 kB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.2377, allocations: 4 kB / 0.9887 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.238, allocations: 15.98 kB / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.238, allocations: 11.98 kB / 0.9887 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2381, allocations: 8 kB / 0.9887 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.948e-05/0.2382, allocations: 116.9 kB / 0.9888 GB, free: 17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2382, allocations: 0 / 0.9888 GB, free: 17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000482/0.2387, allocations: 68.3 kB / 0.9889 GB, free: 16.94 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.001185/0.2399, allocations: 0.8645 MB / 0.9897 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008445/0.2407, allocations: 195.6 kB / 0.9899 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2408, allocations: 0 / 0.9899 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.2411, allocations: 80.08 kB / 0.99 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.2415, allocations: 15.98 kB / 0.99 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2426, allocations: 1.061 MB / 0.9911 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.2428, allocations: 0.72 MB / 0.9918 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000177/0.243, allocations: 18.14 kB / 0.9918 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.2431, allocations: 39.42 kB / 0.9918 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2432, allocations: 0 / 0.9918 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.2754, allocations: 3.944 MB / 0.9957 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003222/0.2758, allocations: 206.4 kB / 0.9959 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/2.736, allocations: 3.938 kB / 0.9959 GB, free: 9.836 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)