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.001051/0.001051, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007932/0.007932, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9301/0.9301, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 8 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 82.32 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001541/0.1523, allocations: 1.286 MB / 0.5893 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1536, allocations: 0.8971 MB / 0.5902 GB, free: 324 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.1537, allocations: 0 / 0.5902 GB, free: 324 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.1537, allocations: 11.92 kB / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.1539, allocations: 23.8 kB / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1541, allocations: 106.8 kB / 0.5904 GB, free: 184 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1542, allocations: 67.72 kB / 0.5904 GB, free: 116 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.1543, allocations: 19.97 kB / 0.5904 GB, free: 96 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.1544, allocations: 27.86 kB / 0.5905 GB, free: 68 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1545, allocations: 31.84 kB / 0.5905 GB, free: 36 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1545, allocations: 8 kB / 0.5905 GB, free: 28 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.1549, allocations: 275.6 kB / 0.5908 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1549, allocations: 11.98 kB / 0.5908 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.155, allocations: 53.5 kB / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1552, allocations: 147.9 kB / 0.591 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1552, allocations: 0 / 0.591 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1552, allocations: 0 / 0.591 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.1552, allocations: 0 / 0.591 GB, free: 15.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004733/0.1557, allocations: 407.1 kB / 0.5914 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1557, allocations: 8.031 kB / 0.5914 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.1558, allocations: 34.69 kB / 0.5914 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1559, allocations: 12.92 kB / 0.5914 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.156, allocations: 188.1 kB / 0.5916 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1561, allocations: 4.375 kB / 0.5916 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1561, allocations: 7.938 kB / 0.5916 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1562, allocations: 65.67 kB / 0.5917 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1563, allocations: 7.922 kB / 0.5917 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1563, allocations: 0 / 0.5917 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1563, allocations: 0 / 0.5917 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1565, allocations: 51.95 kB / 0.5917 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.1569, allocations: 300.8 kB / 0.592 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.157, allocations: 58.55 kB / 0.5921 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.1571, allocations: 32.97 kB / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1571, allocations: 0 / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1572, allocations: 38.56 kB / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1572, allocations: 0 / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003496/0.1575, allocations: 125.5 kB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1576, allocations: 55.41 kB / 0.5923 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.1577, allocations: 127.7 kB / 0.5924 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1577, allocations: 29.7 kB / 0.5925 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.1577, allocations: 96.05 kB / 0.5925 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1578, allocations: 15.73 kB / 0.5926 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1578, allocations: 17.72 kB / 0.5926 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.1579, allocations: 326.8 kB / 0.5929 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.158, allocations: 23.98 kB / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.1581, allocations: 23.98 kB / 0.5929 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1582, allocations: 64.83 kB / 0.593 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1582, allocations: 3.938 kB / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002167/0.1585, allocations: 97.58 kB / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1585, allocations: 4 kB / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1585, allocations: 0 / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1585, allocations: 8 kB / 0.5931 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1586, allocations: 15.98 kB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.1586, allocations: 0 / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.1587, allocations: 15.86 kB / 0.5931 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1587, allocations: 4 kB / 0.5931 GB, free: 13.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.858e-05/0.1588, allocations: 109.8 kB / 0.5932 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1589, allocations: 11.89 kB / 0.5933 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.1591, allocations: 117.9 kB / 0.5934 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1591, allocations: 0 / 0.5934 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1591, allocations: 0 / 0.5934 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1591, allocations: 3.938 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1593, allocations: 182.2 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1593, allocations: 4 kB / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.1594, allocations: 19.98 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1594, allocations: 0 / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1594, allocations: 4 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1595, allocations: 0 / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1595, allocations: 3.938 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1597, allocations: 203.3 kB / 0.5938 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.1598, allocations: 85.02 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1598, allocations: 3.984 kB / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.1599, allocations: 8 kB / 0.5939 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1599, allocations: 7.984 kB / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1599, allocations: 7.938 kB / 0.5939 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.334e-05/0.16, allocations: 101.8 kB / 0.594 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.16, allocations: 0 / 0.594 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002341/0.1602, allocations: 24 kB / 0.594 GB, free: 12.1 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 (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.0005593/0.1608, allocations: 0.7397 MB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.161, allocations: 59.97 kB / 0.5948 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.161, allocations: 0 / 0.5948 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.1611, allocations: 39.92 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1614, allocations: 19.86 kB / 0.5948 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1629, allocations: 1.509 MB / 0.5963 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1631, allocations: 0.6926 MB / 0.597 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.702e-05/0.1632, allocations: 4.438 kB / 0.597 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.1632, allocations: 23.42 kB / 0.597 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1632, allocations: 0 / 0.597 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9958/1.159, allocations: 2.016 MB / 0.599 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.159, allocations: 209.5 kB / 0.5992 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.929, allocations: 0 / 0.5992 GB, free: 6.781 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/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)