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.001019/0.001019, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001425/0.001425, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.854/1.854, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005431/0.0005432, allocations: 14.75 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.28, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005424/0.2854, allocations: 4.101 MB / 0.7914 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2865, allocations: 0.7607 MB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.2866, allocations: 0 / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.2867, allocations: 31.81 kB / 0.7922 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.2868, allocations: 23.78 kB / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.2872, allocations: 131.6 kB / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.2874, allocations: 155.4 kB / 0.7925 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.2875, allocations: 13.11 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2877, allocations: 79.69 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.2878, allocations: 63.8 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.2879, allocations: 8 kB / 0.7926 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.2881, allocations: 119.8 kB / 0.7928 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.2882, allocations: 27.89 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.2882, allocations: 45.64 kB / 0.7928 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.2885, allocations: 163.9 kB / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2885, allocations: 0 / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2885, allocations: 0 / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2885, allocations: 0 / 0.793 GB, free: 6.059 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.0008359/0.2893, allocations: 466.8 kB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2894, allocations: 12.03 kB / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.801e-05/0.2895, allocations: 42.55 kB / 0.7935 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.2895, allocations: 15.77 kB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2897, allocations: 182.8 kB / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2897, allocations: 8 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.2897, allocations: 12 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.2901, allocations: 129.6 kB / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2901, allocations: 0 / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2901, allocations: 4 kB / 0.7938 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2901, allocations: 4 kB / 0.7938 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.2905, allocations: 163.8 kB / 0.794 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009436/0.2915, allocations: 472.4 kB / 0.7944 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.2918, allocations: 134.5 kB / 0.7946 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.292, allocations: 80.81 kB / 0.7946 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.2934, allocations: 0.9609 MB / 0.7956 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2934, allocations: 42.5 kB / 0.7956 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 4.328e-06/0.2934, allocations: 3.984 kB / 0.7956 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006529/0.2941, allocations: 241.4 kB / 0.7958 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2941, allocations: 55.34 kB / 0.7959 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2943, allocations: 171.2 kB / 0.7961 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.2943, allocations: 29.7 kB / 0.7961 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.2944, allocations: 112.4 kB / 0.7962 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.2944, allocations: 35.45 kB / 0.7962 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.2945, allocations: 4 kB / 0.7962 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2946, allocations: 322.8 kB / 0.7965 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.2948, allocations: 87.94 kB / 0.7966 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.2951, allocations: 118.2 kB / 0.7967 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.2953, allocations: 103.8 kB / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2953, allocations: 0 / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005459/0.2959, allocations: 271.6 kB / 0.7971 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2959, allocations: 6.969 kB / 0.7971 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2959, allocations: 0 / 0.7971 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2959, allocations: 4 kB / 0.7971 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.2962, allocations: 59.89 kB / 0.7972 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.2962, allocations: 4 kB / 0.7972 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.2964, allocations: 39.8 kB / 0.7972 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.2964, allocations: 8 kB / 0.7972 GB, free: 1.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.2965, allocations: 129.7 kB / 0.7973 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.2966, allocations: 15.8 kB / 0.7974 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.297, allocations: 187 kB / 0.7975 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2971, allocations: 4 kB / 0.7975 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2971, allocations: 3.984 kB / 0.7975 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2971, allocations: 0 / 0.7975 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.2973, allocations: 225.4 kB / 0.7978 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2973, allocations: 3.953 kB / 0.7978 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2975, allocations: 43.91 kB / 0.7978 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2975, allocations: 0 / 0.7978 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2975, allocations: 0 / 0.7978 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2975, allocations: 0 / 0.7978 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2975, allocations: 4 kB / 0.7978 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.298, allocations: 279.8 kB / 0.7981 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.2981, allocations: 100.9 kB / 0.7982 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.2981, allocations: 4 kB / 0.7982 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2982, allocations: 19.97 kB / 0.7982 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.2983, allocations: 11.98 kB / 0.7982 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.2983, allocations: 4 kB / 0.7982 GB, free: 244 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.2984, allocations: 112 kB / 0.7983 GB, free: 132 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2984, allocations: 4 kB / 0.7983 GB, free: 128 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003322/0.2987, allocations: 60.06 kB / 0.7984 GB, free: 68 kB / 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 (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.0009441/0.2997, allocations: 0.8645 MB / 0.7992 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.3002, allocations: 199.8 kB / 0.7994 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3002, allocations: 0 / 0.7994 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.3004, allocations: 79.89 kB / 0.7995 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3008, allocations: 26.42 kB / 0.7995 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3026, allocations: 1.019 MB / 0.8005 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3029, allocations: 0.7084 MB / 0.8012 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.303, allocations: 24.98 kB / 0.8012 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.3031, allocations: 39.42 kB / 0.8013 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3031, allocations: 0 / 0.8013 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.3183, allocations: 3.995 MB / 0.8052 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.3185, allocations: 212.7 kB / 0.8054 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.284, allocations: 0 / 0.8054 GB, free: 8.973 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/linux/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) Environment - environmentSimulation: