Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_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.001163/0.001163, allocations: 105.4 kB / 15.98 MB, free: 6.363 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.00117/0.00117, allocations: 194.8 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6283/0.6283, allocations: 115.3 MB / 406.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.91 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2988, allocations: 76.18 MB / 0.556 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00438/0.3032, allocations: 4.552 MB / 0.5605 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000757/0.304, allocations: 0.8164 MB / 0.5613 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.3041, allocations: 2.719 kB / 0.5613 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.3042, allocations: 20.45 kB / 0.5613 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.3043, allocations: 29.06 kB / 0.5613 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.3047, allocations: 154.2 kB / 0.5615 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.3049, allocations: 178.8 kB / 0.5616 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.9e-05/0.305, allocations: 16.91 kB / 0.5617 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3051, allocations: 84.67 kB / 0.5617 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.3052, allocations: 76.8 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3052, allocations: 14.06 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.3055, allocations: 161.1 kB / 0.562 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.3056, allocations: 27.09 kB / 0.562 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.3056, allocations: 72.72 kB / 0.5621 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.3059, allocations: 236.8 kB / 0.5623 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.306, allocations: 0 / 0.5623 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.306, allocations: 1.562 kB / 0.5623 GB, free: 32.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.306, allocations: 0.7031 kB / 0.5623 GB, free: 32.11 MB / 446.1 MB 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.0006859/0.3067, allocations: 481.3 kB / 0.5628 GB, free: 31.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3067, allocations: 11.16 kB / 0.5628 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.3067, allocations: 39.59 kB / 0.5628 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.3068, allocations: 15.12 kB / 0.5628 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.09e-05/0.3069, allocations: 187.3 kB / 0.563 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3069, allocations: 8.844 kB / 0.563 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3069, allocations: 12.62 kB / 0.563 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.3072, allocations: 125.4 kB / 0.5631 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3072, allocations: 2.453 kB / 0.5631 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3072, allocations: 1.25 kB / 0.5631 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3072, allocations: 1.156 kB / 0.5631 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.3076, allocations: 146.3 kB / 0.5633 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.3084, allocations: 466.6 kB / 0.5637 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.3086, allocations: 126.6 kB / 0.5639 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3088, allocations: 68.7 kB / 0.5639 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.3099, allocations: 0.9767 MB / 0.5649 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.3099, allocations: 31.17 kB / 0.5649 GB, free: 29.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.3099, allocations: 2.625 kB / 0.5649 GB, free: 29.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005717/0.3105, allocations: 210.4 kB / 0.5651 GB, free: 29.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/0.3105, allocations: 55.5 kB / 0.5652 GB, free: 29.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.3106, allocations: 163.6 kB / 0.5653 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3106, allocations: 28.05 kB / 0.5653 GB, free: 29.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.3107, allocations: 113.6 kB / 0.5654 GB, free: 29.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3107, allocations: 40.12 kB / 0.5655 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.3108, allocations: 49.38 kB / 0.5655 GB, free: 29.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.3108, allocations: 328.5 kB / 0.5658 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.311, allocations: 74.53 kB / 0.5659 GB, free: 29.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.3112, allocations: 115.4 kB / 0.566 GB, free: 29.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.3116, allocations: 174.5 kB / 0.5662 GB, free: 29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3116, allocations: 0.5938 kB / 0.5662 GB, free: 29 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004861/0.3121, allocations: 247.6 kB / 0.5664 GB, free: 28.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3121, allocations: 6.25 kB / 0.5664 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3121, allocations: 5.375 kB / 0.5664 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3121, allocations: 1.062 kB / 0.5664 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.3124, allocations: 56.95 kB / 0.5665 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3124, allocations: 2.25 kB / 0.5665 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.3126, allocations: 29.5 kB / 0.5665 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.3126, allocations: 10.95 kB / 0.5665 GB, free: 28.88 MB / 446.1 MB 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 6.017e-05/0.3127, allocations: 124.5 kB / 0.5667 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.3127, allocations: 15.12 kB / 0.5667 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.3133, allocations: 189.4 kB / 0.5669 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3134, allocations: 1.344 kB / 0.5669 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3134, allocations: 0 / 0.5669 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3134, allocations: 2.688 kB / 0.5669 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.3136, allocations: 206.4 kB / 0.5671 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3137, allocations: 1.25 kB / 0.5671 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.3139, allocations: 37.34 kB / 0.5671 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3139, allocations: 1.844 kB / 0.5671 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3139, allocations: 5.094 kB / 0.5671 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.314, allocations: 5.906 kB / 0.5671 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.314, allocations: 1.156 kB / 0.5671 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.3146, allocations: 255.1 kB / 0.5673 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.3146, allocations: 106.8 kB / 0.5674 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3147, allocations: 9.969 kB / 0.5675 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3149, allocations: 11.12 kB / 0.5675 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.315, allocations: 16.02 kB / 0.5675 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.315, allocations: 2.156 kB / 0.5675 GB, free: 28.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.536e-05/0.3151, allocations: 117.9 kB / 0.5676 GB, free: 28.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3151, allocations: 1.438 kB / 0.5676 GB, free: 28.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005277/0.3156, allocations: 57.5 kB / 0.5677 GB, free: 28.05 MB / 446.1 MB 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.0009467/0.3166, allocations: 0.8521 MB / 0.5685 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.3173, allocations: 181.5 kB / 0.5687 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3173, allocations: 0.6875 kB / 0.5687 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.3176, allocations: 69.22 kB / 0.5687 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3181, allocations: 21.02 kB / 0.5687 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.3213, allocations: 1.983 MB / 0.5707 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3214, allocations: 0.7033 MB / 0.5714 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.3216, allocations: 23.78 kB / 0.5714 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3217, allocations: 38.73 kB / 0.5714 GB, free: 25.02 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3217, allocations: 3.938 kB / 0.5714 GB, free: 25.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3122/0.634, allocations: 4.037 MB / 0.5754 GB, free: 24.58 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/0.6341, allocations: 216 kB / 0.5756 GB, free: 24.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.497, allocations: 1.375 kB / 0.5756 GB, free: 24.33 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)