Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_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.001175/0.001175, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001242/0.001242, allocations: 198.5 kB / 16.25 MB, free: 6.621 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7013/0.7013, allocations: 132.2 MB / 422.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 66.55 kB / 0.5014 GB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3134, allocations: 80.19 MB / 0.5797 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005259/0.3187, allocations: 4.587 MB / 0.5842 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000876/0.3196, allocations: 0.8123 MB / 0.585 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.3197, allocations: 1.156 kB / 0.585 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.3199, allocations: 31.95 kB / 0.585 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.32, allocations: 24.16 kB / 0.585 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.3205, allocations: 153.7 kB / 0.5852 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3207, allocations: 179.4 kB / 0.5853 GB, free: 496 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.3208, allocations: 15.42 kB / 0.5853 GB, free: 492 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.321, allocations: 85.73 kB / 0.5854 GB, free: 452 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3211, allocations: 76.7 kB / 0.5855 GB, free: 420 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.3212, allocations: 12.44 kB / 0.5855 GB, free: 420 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.3215, allocations: 157.8 kB / 0.5857 GB, free: 368 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.3216, allocations: 32.72 kB / 0.5857 GB, free: 348 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/0.3216, allocations: 64.33 kB / 0.5857 GB, free: 312 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.322, allocations: 245.2 kB / 0.586 GB, free: 220 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.322, allocations: 0 / 0.586 GB, free: 220 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.322, allocations: 0 / 0.586 GB, free: 220 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.322, allocations: 0 / 0.586 GB, free: 220 kB / 430.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.0008253/0.3229, allocations: 484.6 kB / 0.5864 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3229, allocations: 9.188 kB / 0.5865 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.323, allocations: 43.77 kB / 0.5865 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.323, allocations: 15.16 kB / 0.5865 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3231, allocations: 181.2 kB / 0.5867 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3232, allocations: 11.59 kB / 0.5867 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3232, allocations: 11.81 kB / 0.5867 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.3235, allocations: 122.6 kB / 0.5868 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3235, allocations: 3.984 kB / 0.5868 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3235, allocations: 1.156 kB / 0.5868 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3236, allocations: 2.688 kB / 0.5868 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.324, allocations: 139 kB / 0.587 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.3249, allocations: 472.2 kB / 0.5874 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.3252, allocations: 131.6 kB / 0.5875 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3254, allocations: 68.31 kB / 0.5876 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.3267, allocations: 0.9615 MB / 0.5885 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.3268, allocations: 40.53 kB / 0.5886 GB, free: 14.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.3268, allocations: 0 / 0.5886 GB, free: 14.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006428/0.3274, allocations: 211.5 kB / 0.5888 GB, free: 13.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.3275, allocations: 56.59 kB / 0.5888 GB, free: 13.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3276, allocations: 166.6 kB / 0.589 GB, free: 13.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3276, allocations: 26.55 kB / 0.589 GB, free: 13.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.3277, allocations: 112.4 kB / 0.5891 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.3277, allocations: 40.23 kB / 0.5892 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.3278, allocations: 53.25 kB / 0.5892 GB, free: 13.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.3279, allocations: 322.5 kB / 0.5895 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.3281, allocations: 74.61 kB / 0.5896 GB, free: 13.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.3284, allocations: 109.4 kB / 0.5897 GB, free: 13.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.3288, allocations: 180.4 kB / 0.5899 GB, free: 13.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3288, allocations: 0 / 0.5899 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005552/0.3294, allocations: 241.9 kB / 0.5901 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3294, allocations: 5.156 kB / 0.5901 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3294, allocations: 5.469 kB / 0.5901 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3294, allocations: 2.219 kB / 0.5901 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3297, allocations: 54.89 kB / 0.5902 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3297, allocations: 2.719 kB / 0.5902 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.3299, allocations: 34.98 kB / 0.5902 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.3299, allocations: 11.3 kB / 0.5902 GB, free: 12.93 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 9.089e-05/0.33, allocations: 128.5 kB / 0.5903 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.3301, allocations: 17.34 kB / 0.5904 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/0.3305, allocations: 176.3 kB / 0.5905 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3305, allocations: 5.812 kB / 0.5905 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3306, allocations: 0 / 0.5905 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3306, allocations: 1.453 kB / 0.5905 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.3308, allocations: 209.9 kB / 0.5907 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3308, allocations: 5.125 kB / 0.5907 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.3309, allocations: 36.44 kB / 0.5908 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.331, allocations: 1.797 kB / 0.5908 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.331, allocations: 0 / 0.5908 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.331, allocations: 2.078 kB / 0.5908 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.331, allocations: 0 / 0.5908 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.3314, allocations: 257.9 kB / 0.591 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.3315, allocations: 106.6 kB / 0.5911 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3315, allocations: 4.656 kB / 0.5911 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3317, allocations: 13.38 kB / 0.5911 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.3317, allocations: 10.77 kB / 0.5911 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3317, allocations: 3.641 kB / 0.5911 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.3318, allocations: 113.1 kB / 0.5913 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3318, allocations: 4 kB / 0.5913 GB, free: 12.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.3322, allocations: 62.34 kB / 0.5913 GB, free: 12.1 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.0008558/0.333, allocations: 0.853 MB / 0.5922 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005075/0.3335, allocations: 179.9 kB / 0.5923 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3336, allocations: 0.9375 kB / 0.5923 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.3337, allocations: 71.69 kB / 0.5924 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3341, allocations: 15.41 kB / 0.5924 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.3366, allocations: 1.97 MB / 0.5943 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3368, allocations: 0.7032 MB / 0.595 GB, free: 9.094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3369, allocations: 23.78 kB / 0.595 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.337, allocations: 38.48 kB / 0.5951 GB, free: 9.059 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.337, allocations: 1.438 kB / 0.5951 GB, free: 9.059 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/0.5167, allocations: 4.034 MB / 0.599 GB, free: 7.684 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.5169, allocations: 211.2 kB / 0.5992 GB, free: 7.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.303, allocations: 0 / 0.5992 GB, free: 7.434 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)