Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.002228/0.002228, allocations: 100 kB / 15.05 MB, free: 1.105 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.002863/0.002863, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.042/3.042, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.895/1.895, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005801/0.0005804, allocations: 8 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3199, allocations: 82.32 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003508/0.3235, allocations: 1.713 MB / 0.589 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.3262, allocations: 0.9733 MB / 0.5899 GB, free: 352 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.3265, allocations: 3.938 kB / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.31e-05/0.3265, allocations: 11.86 kB / 0.5899 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.327, allocations: 91.69 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.3276, allocations: 131.6 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.328, allocations: 187.6 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.3283, allocations: 56.69 kB / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.3285, allocations: 95.56 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.3288, allocations: 119.5 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.3289, allocations: 8 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.3295, allocations: 267.7 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.3296, allocations: 31.83 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3297, allocations: 65.58 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.3302, allocations: 227.6 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3302, allocations: 0 / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3302, allocations: 4 kB / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3302, allocations: 0 / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001656/0.3319, allocations: 0.61 MB / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/0.332, allocations: 15.97 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.975e-05/0.3321, allocations: 46.56 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.3325, allocations: 39.61 kB / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.333, allocations: 266.3 kB / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.333, allocations: 16.28 kB / 0.5921 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.3331, allocations: 12 kB / 0.5921 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007894/0.3338, allocations: 244.7 kB / 0.5924 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.3339, allocations: 7.938 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.3339, allocations: 4 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.334, allocations: 8 kB / 0.5924 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.335, allocations: 243.7 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.3369, allocations: 0.9539 MB / 0.5935 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.3381, allocations: 257.2 kB / 0.5938 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3382, allocations: 4 kB / 0.5938 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3383, allocations: 34.56 kB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.845e-06/0.3383, allocations: 0 / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002251/0.3405, allocations: 405.4 kB / 0.5942 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.3406, allocations: 77.11 kB / 0.5943 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.3411, allocations: 263 kB / 0.5945 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3412, allocations: 29.7 kB / 0.5946 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3414, allocations: 164 kB / 0.5947 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.3415, allocations: 51.27 kB / 0.5948 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.3416, allocations: 4 kB / 0.5948 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.3418, allocations: 346.8 kB / 0.5951 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/0.3424, allocations: 115.8 kB / 0.5952 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.343, allocations: 153.9 kB / 0.5954 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.3437, allocations: 127.8 kB / 0.5955 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3437, allocations: 8 kB / 0.5955 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001598/0.3453, allocations: 333.1 kB / 0.5958 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.3454, allocations: 4 kB / 0.5958 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3454, allocations: 4 kB / 0.5958 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3454, allocations: 0 / 0.5958 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.346, allocations: 80.02 kB / 0.5959 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.346, allocations: 0 / 0.5959 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.3465, allocations: 55.73 kB / 0.5959 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.3466, allocations: 8.703 kB / 0.596 GB, free: 9.848 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0002372/0.3468, allocations: 137.7 kB / 0.5961 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.347, allocations: 27.62 kB / 0.5961 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.3485, allocations: 323.2 kB / 0.5964 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.3485, allocations: 4 kB / 0.5964 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3485, allocations: 0 / 0.5964 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3486, allocations: 0 / 0.5964 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.3493, allocations: 309.2 kB / 0.5967 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3493, allocations: 0 / 0.5967 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.3498, allocations: 67.95 kB / 0.5968 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.3498, allocations: 0 / 0.5968 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.3498, allocations: 8.281 kB / 0.5968 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.3498, allocations: 0 / 0.5968 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3499, allocations: 0 / 0.5968 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.3513, allocations: 0.4921 MB / 0.5973 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.3515, allocations: 104.7 kB / 0.5974 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.3515, allocations: 4 kB / 0.5974 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.3519, allocations: 35.95 kB / 0.5974 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3521, allocations: 19.98 kB / 0.5974 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3521, allocations: 8 kB / 0.5974 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003036/0.3524, allocations: 186 kB / 0.5976 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3524, allocations: 0 / 0.5976 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006622/0.3531, allocations: 64.17 kB / 0.5977 GB, free: 7.973 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001987/0.3551, allocations: 1.11 MB / 0.5988 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.3563, allocations: 265.8 kB / 0.599 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3564, allocations: 0 / 0.599 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.3569, allocations: 143.8 kB / 0.5991 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.3577, allocations: 73.33 kB / 0.5992 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.3601, allocations: 1.666 MB / 0.6008 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.3607, allocations: 0.7596 MB / 0.6016 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.361, allocations: 30.3 kB / 0.6016 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.3612, allocations: 87.39 kB / 0.6017 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/0.3612, allocations: 0 / 0.6017 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6062/0.9675, allocations: 5.739 MB / 0.6073 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/0.9679, allocations: 187.4 kB / 0.6075 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.58/4.548, allocations: 0 / 0.6075 GB, free: 48.51 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: