Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.0007978/0.0007978, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008396/0.0008397, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9275/0.9275, allocations: 135.3 MB / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 9.125 kB / 0.5071 GB, free: 4.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 82.32 MB / 0.5875 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001574/0.164, allocations: 1.263 MB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1652, allocations: 0.843 MB / 0.5895 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.1652, allocations: 0 / 0.5895 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1653, allocations: 3.938 kB / 0.5895 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1655, allocations: 19.84 kB / 0.5896 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1657, allocations: 91.81 kB / 0.5896 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1659, allocations: 71.66 kB / 0.5897 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.1659, allocations: 11.98 kB / 0.5897 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.166, allocations: 27.91 kB / 0.5898 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1662, allocations: 31.84 kB / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1662, allocations: 4 kB / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.1665, allocations: 271.7 kB / 0.59 GB, free: 200 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.1665, allocations: 15.92 kB / 0.5901 GB, free: 184 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.1666, allocations: 37.64 kB / 0.5901 GB, free: 140 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1667, allocations: 100 kB / 0.5902 GB, free: 40 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1667, allocations: 3.984 kB / 0.5902 GB, free: 36 kB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1668, allocations: 0 / 0.5902 GB, free: 36 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1668, allocations: 0 / 0.5902 GB, free: 36 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004668/0.1672, allocations: 399 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1673, allocations: 19.97 kB / 0.5906 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.1673, allocations: 30.56 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.832e-05/0.1674, allocations: 11.91 kB / 0.5906 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1676, allocations: 182.9 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1676, allocations: 8 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1676, allocations: 0 / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1678, allocations: 65.66 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1678, allocations: 3.938 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1678, allocations: 4 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1678, allocations: 8 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.168, allocations: 47.91 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.1684, allocations: 304.7 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.1686, allocations: 58.55 kB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.1686, allocations: 28.97 kB / 0.5913 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1687, allocations: 3.938 kB / 0.5913 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1687, allocations: 42.56 kB / 0.5914 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.425e-06/0.1687, allocations: 3.984 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003359/0.1691, allocations: 113.6 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1691, allocations: 59.36 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.1692, allocations: 132.4 kB / 0.5917 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1692, allocations: 25.7 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.1693, allocations: 96.12 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.1693, allocations: 15.75 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.1693, allocations: 0 / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.1694, allocations: 322.8 kB / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.1695, allocations: 27.98 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.1695, allocations: 27.92 kB / 0.5922 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.1696, allocations: 27.98 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1696, allocations: 0 / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001953/0.1698, allocations: 101.6 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1699, allocations: 4 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1699, allocations: 4 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1699, allocations: 0 / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.17, allocations: 15.98 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.17, allocations: 0 / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.1701, allocations: 15.86 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1701, allocations: 7.938 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 7.218e-05/0.1702, allocations: 117.8 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1702, allocations: 4 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.1705, allocations: 110 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1705, allocations: 0 / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1705, allocations: 0.5 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1705, allocations: 3.984 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1707, allocations: 189.6 kB / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1707, allocations: 8 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.1708, allocations: 15.98 kB / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1708, allocations: 0 / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1708, allocations: 0 / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1708, allocations: 0 / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1708, allocations: 7.938 kB / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.171, allocations: 195.4 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.1711, allocations: 85.02 kB / 0.593 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1711, allocations: 3.938 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.1712, allocations: 8 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1712, allocations: 11.98 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1713, allocations: 0 / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.1713, allocations: 99.27 kB / 0.5931 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1713, allocations: 0 / 0.5931 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000234/0.1716, allocations: 23.98 kB / 0.5932 GB, free: 12.66 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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.0005214/0.1721, allocations: 0.7474 MB / 0.5939 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1723, allocations: 63.97 kB / 0.594 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1723, allocations: 0 / 0.594 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.821e-05/0.1724, allocations: 35.91 kB / 0.594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1727, allocations: 13.53 kB / 0.594 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.1736, allocations: 0.6135 MB / 0.5946 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.1738, allocations: 0.6887 MB / 0.5953 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.1739, allocations: 8.172 kB / 0.5953 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1739, allocations: 23.44 kB / 0.5953 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1739, allocations: 0 / 0.5953 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.1861, allocations: 2.007 MB / 0.5973 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.1863, allocations: 201.3 kB / 0.5975 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/1.979, allocations: 3.938 kB / 0.5975 GB, free: 8.293 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: