Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_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.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001681/0.001681, allocations: 194.2 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 67.75 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2591, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006152/0.2653, allocations: 4.621 MB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2664, allocations: 0.8265 MB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.2665, allocations: 4 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.2667, allocations: 19.89 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.195e-05/0.2668, allocations: 31.7 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.2672, allocations: 147.5 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.2674, allocations: 167.4 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.34e-05/0.2674, allocations: 13.11 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.2676, allocations: 75.69 kB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2678, allocations: 75.72 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2678, allocations: 12 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.2681, allocations: 143.8 kB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.2682, allocations: 23.91 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.2682, allocations: 63.64 kB / 0.7889 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.2686, allocations: 239.6 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2686, allocations: 3.938 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2686, allocations: 0 / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2686, allocations: 0 / 0.7891 GB, free: 7.426 MB / 0.6075 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.0008614/0.2695, allocations: 482.9 kB / 0.7896 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2695, allocations: 12.03 kB / 0.7896 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.2696, allocations: 34.75 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.2696, allocations: 16.75 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.2698, allocations: 187 kB / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.2698, allocations: 16.12 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.2698, allocations: 12 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.2702, allocations: 113.6 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2702, allocations: 0 / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2702, allocations: 0 / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2702, allocations: 4 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.2706, allocations: 147.8 kB / 0.7901 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.2716, allocations: 464.4 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.2719, allocations: 122.5 kB / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.2721, allocations: 72.75 kB / 0.7907 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.2734, allocations: 0.9762 MB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2735, allocations: 34.5 kB / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.2735, allocations: 0 / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006638/0.2742, allocations: 201.8 kB / 0.7919 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2742, allocations: 59.41 kB / 0.7919 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2744, allocations: 171.2 kB / 0.7921 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.2744, allocations: 25.7 kB / 0.7921 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.2745, allocations: 116.4 kB / 0.7922 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.2745, allocations: 35.45 kB / 0.7923 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.2746, allocations: 45.7 kB / 0.7923 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2747, allocations: 322.8 kB / 0.7926 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.275, allocations: 79.94 kB / 0.7927 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.2752, allocations: 110.2 kB / 0.7928 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.2756, allocations: 179.1 kB / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2756, allocations: 0 / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005669/0.2762, allocations: 247.8 kB / 0.7932 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2762, allocations: 4 kB / 0.7932 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2763, allocations: 0 / 0.7932 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2763, allocations: 4 kB / 0.7932 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.2765, allocations: 55.89 kB / 0.7933 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2766, allocations: 0 / 0.7933 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.2767, allocations: 31.77 kB / 0.7933 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.2768, allocations: 12 kB / 0.7933 GB, free: 2.719 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.2769, allocations: 125.8 kB / 0.7934 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.2769, allocations: 23.67 kB / 0.7935 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.2774, allocations: 175 kB / 0.7936 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2774, allocations: 0 / 0.7936 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2774, allocations: 3.984 kB / 0.7936 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2774, allocations: 4 kB / 0.7936 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.2777, allocations: 221.4 kB / 0.7938 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2777, allocations: 0 / 0.7938 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.2779, allocations: 43.84 kB / 0.7939 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2779, allocations: 0 / 0.7939 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2779, allocations: 4 kB / 0.7939 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2779, allocations: 0 / 0.7939 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2779, allocations: 0 / 0.7939 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.2784, allocations: 251.3 kB / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.2784, allocations: 100.8 kB / 0.7942 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.2785, allocations: 8 kB / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.2786, allocations: 15.97 kB / 0.7942 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.2787, allocations: 15.97 kB / 0.7943 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.2787, allocations: 0 / 0.7943 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.052e-05/0.2788, allocations: 116 kB / 0.7944 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2788, allocations: 0 / 0.7944 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000352/0.2791, allocations: 64.31 kB / 0.7944 GB, free: 1.469 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009773/0.2801, allocations: 0.8478 MB / 0.7953 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005169/0.2806, allocations: 171.7 kB / 0.7954 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2807, allocations: 0 / 0.7954 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.2809, allocations: 67.89 kB / 0.7955 GB, free: 368 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2813, allocations: 27.92 kB / 0.7955 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.2841, allocations: 1.98 MB / 0.7975 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.2845, allocations: 0.7006 MB / 0.7981 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.2846, allocations: 21.02 kB / 0.7982 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.2847, allocations: 35.42 kB / 0.7982 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of SimCode: time 1.663e-06/0.2847, allocations: 0 / 0.7982 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.2989, allocations: 3.96 MB / 0.8021 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.2991, allocations: 226.5 kB / 0.8023 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.272, allocations: 0 / 0.8023 GB, free: 9.43 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)