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.748/2.748, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001534/0.001533, allocations: 192.6 kB / 371 MB, free: 10.85 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.175/2.175, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.000971/0.000971, allocations: 84.97 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006946/0.000695, allocations: 17.38 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2431, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006336/0.2495, allocations: 4.093 MB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2509, allocations: 0.7607 MB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2511, allocations: 0 / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.2513, allocations: 23.83 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2514, allocations: 35.77 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.2522, allocations: 123.6 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.2524, allocations: 159.4 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2525, allocations: 17.11 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.2527, allocations: 71.75 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2528, allocations: 67.73 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.2529, allocations: 8 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.2534, allocations: 119.8 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.2534, allocations: 27.89 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.2535, allocations: 45.64 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.2538, allocations: 167.8 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2538, allocations: 0 / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2538, allocations: 0 / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2539, allocations: 0 / 0.984 GB, free: 22.51 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.001064/0.2549, allocations: 469 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.255, allocations: 8.031 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.2551, allocations: 42.55 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.2551, allocations: 15.77 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2553, allocations: 178.9 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2553, allocations: 11.94 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.2554, allocations: 12 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.2558, allocations: 129.6 kB / 0.9849 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2559, allocations: 0 / 0.9849 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.2559, allocations: 4 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2559, allocations: 7.953 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.2566, allocations: 163.9 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.258, allocations: 468.4 kB / 0.9855 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.2585, allocations: 138.5 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.2589, allocations: 84.81 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002695/0.2616, allocations: 0.9684 MB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.2617, allocations: 30.56 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 6.693e-06/0.2617, allocations: 0 / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.002095/0.2638, allocations: 245.4 kB / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.264, allocations: 55.34 kB / 0.987 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.2643, allocations: 164.1 kB / 0.9871 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.2643, allocations: 29.7 kB / 0.9871 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.2645, allocations: 112.4 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.2646, allocations: 35.45 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.2646, allocations: 4 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.2647, allocations: 326.8 kB / 0.9876 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.2652, allocations: 87.94 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.2657, allocations: 120.7 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.2661, allocations: 91.97 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2661, allocations: 0 / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009484/0.267, allocations: 273 kB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2671, allocations: 4 kB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2671, allocations: 0 / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.2672, allocations: 4 kB / 0.9882 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.2677, allocations: 59.89 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2677, allocations: 8.094 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.268, allocations: 35.77 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.2681, allocations: 4 kB / 0.9883 GB, free: 17.82 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.0001237/0.2682, allocations: 129.8 kB / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.2683, allocations: 15.8 kB / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.2691, allocations: 194.9 kB / 0.9886 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2691, allocations: 8 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2691, allocations: 0 / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2692, allocations: 3.984 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.2695, allocations: 225.3 kB / 0.9888 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-06/0.2695, allocations: 0 / 0.9888 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.2698, allocations: 35.97 kB / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.018e-06/0.2698, allocations: 3.984 kB / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2698, allocations: 4 kB / 0.9888 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2698, allocations: 7.938 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2699, allocations: 0 / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007331/0.2706, allocations: 267.4 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.2707, allocations: 108.8 kB / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.2707, allocations: 4 kB / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.271, allocations: 19.97 kB / 0.9892 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.2711, allocations: 11.98 kB / 0.9892 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2711, allocations: 8 kB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001001/0.2712, allocations: 116.9 kB / 0.9894 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2712, allocations: 0 / 0.9894 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004688/0.2717, allocations: 64.31 kB / 0.9894 GB, free: 16.52 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.001266/0.273, allocations: 0.869 MB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008419/0.2739, allocations: 187.7 kB / 0.9905 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2739, allocations: 0 / 0.9905 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.2742, allocations: 84.08 kB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.2747, allocations: 19.98 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.2773, allocations: 1.023 MB / 0.9916 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2775, allocations: 0.7084 MB / 0.9922 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.2777, allocations: 21.02 kB / 0.9923 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2778, allocations: 35.42 kB / 0.9923 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.292e-06/0.2778, allocations: 0 / 0.9923 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.3039, allocations: 4.011 MB / 0.9962 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.3042, allocations: 211.6 kB / 0.9964 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/2.955, allocations: 0 / 0.9964 GB, free: 9.398 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)