Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 288.4 MB / 303.3 MB, free: 8.184 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.00106/0.00106, allocations: 180.5 kB / 372 MB, free: 10.23 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.842/1.842, allocations: 205.4 MB / 0.6307 GB, free: 9.949 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.0007903/0.0007904, allocations: 86.92 kB / 0.744 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004103, allocations: 12.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.246, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004944/0.251, allocations: 4.101 MB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00084/0.2519, allocations: 0.7607 MB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.252, allocations: 0 / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.2521, allocations: 23.83 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.2522, allocations: 27.77 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.2526, allocations: 127.6 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.2528, allocations: 159.4 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.2529, allocations: 17.09 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.253, allocations: 71.75 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.2531, allocations: 71.73 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.2532, allocations: 8 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.2534, allocations: 115.8 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.2535, allocations: 31.89 kB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.2535, allocations: 41.64 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2538, allocations: 163.8 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2538, allocations: 0 / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2538, allocations: 0 / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2538, allocations: 4 kB / 0.9852 GB, free: 21.78 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.0008142/0.2546, allocations: 462.8 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2547, allocations: 16.03 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.2547, allocations: 38.55 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.2548, allocations: 19.77 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2549, allocations: 182.9 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2549, allocations: 4 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.2549, allocations: 15.94 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.2553, allocations: 131.3 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2553, allocations: 0 / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2553, allocations: 4 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2553, allocations: 0 / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.2558, allocations: 167.8 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009356/0.2567, allocations: 468.4 kB / 0.9867 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.257, allocations: 138.4 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.2572, allocations: 80.81 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.2584, allocations: 0.9645 MB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.2584, allocations: 34.56 kB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.2585, allocations: 0 / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006697/0.2591, allocations: 241.3 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2592, allocations: 55.41 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2593, allocations: 165.1 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2593, allocations: 33.7 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.2594, allocations: 108.4 kB / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.2594, allocations: 39.45 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.2594, allocations: 4 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.2595, allocations: 326.8 kB / 0.9888 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.2597, allocations: 83.94 kB / 0.9889 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2599, allocations: 116.9 kB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.2602, allocations: 95.91 kB / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2602, allocations: 0 / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004963/0.2607, allocations: 268.6 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2607, allocations: 12.09 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2607, allocations: 0 / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2607, allocations: 4 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.261, allocations: 59.89 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.261, allocations: 3.984 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2612, allocations: 39.77 kB / 0.9894 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.2612, allocations: 12 kB / 0.9894 GB, free: 17.09 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 7.842e-05/0.2613, allocations: 125.8 kB / 0.9896 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.2613, allocations: 15.81 kB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.2618, allocations: 203.2 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2618, allocations: 0 / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2618, allocations: 4 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2618, allocations: 0 / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.262, allocations: 221.4 kB / 0.99 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.262, allocations: 7.953 kB / 0.99 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2622, allocations: 35.97 kB / 0.99 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2622, allocations: 7.938 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2622, allocations: 0 / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2622, allocations: 0 / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2622, allocations: 3.938 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.2626, allocations: 275.3 kB / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.2627, allocations: 100.9 kB / 0.9904 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.2627, allocations: 11.98 kB / 0.9904 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.2628, allocations: 15.98 kB / 0.9904 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.2629, allocations: 11.98 kB / 0.9904 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2629, allocations: 0 / 0.9904 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.263, allocations: 117.6 kB / 0.9906 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.263, allocations: 4 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003025/0.2633, allocations: 64.31 kB / 0.9906 GB, free: 15.79 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.0007383/0.264, allocations: 0.8684 MB / 0.9915 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004451/0.2645, allocations: 191.9 kB / 0.9916 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2645, allocations: 0 / 0.9916 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.2647, allocations: 79.89 kB / 0.9917 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.2651, allocations: 23.98 kB / 0.9917 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.2665, allocations: 1.023 MB / 0.9927 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.2667, allocations: 0.7045 MB / 0.9934 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.2668, allocations: 27.25 kB / 0.9935 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.2669, allocations: 35.42 kB / 0.9935 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2669, allocations: 4 kB / 0.9935 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.2822, allocations: 4.004 MB / 0.9974 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.2824, allocations: 219.4 kB / 0.9976 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.162, allocations: 4.062 kB / 0.9976 GB, free: 8.672 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)