Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001405/0.001405, allocations: 191.6 kB / 16.13 MB, free: 6.668 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6855/0.6855, allocations: 132.2 MB / 422.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 56.19 kB / 0.5012 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1424, allocations: 80.2 MB / 0.5795 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002687/0.1452, allocations: 2.177 MB / 0.5816 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1466, allocations: 1.057 MB / 0.5827 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1467, allocations: 3.938 kB / 0.5827 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.341e-05/0.1468, allocations: 11.86 kB / 0.5827 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.147, allocations: 75.41 kB / 0.5828 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.1474, allocations: 138.8 kB / 0.5829 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.1476, allocations: 290.7 kB / 0.5832 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1478, allocations: 61 kB / 0.5832 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1479, allocations: 99.52 kB / 0.5833 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1481, allocations: 139.3 kB / 0.5834 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.1481, allocations: 8 kB / 0.5835 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.1485, allocations: 295.6 kB / 0.5837 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.1485, allocations: 35.83 kB / 0.5838 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.1486, allocations: 119.3 kB / 0.5839 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.1489, allocations: 314.9 kB / 0.5842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1489, allocations: 0 / 0.5842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1489, allocations: 0 / 0.5842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1489, allocations: 0 / 0.5842 GB, free: 4.289 MB / 494.1 MB 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.0009159/0.1498, allocations: 0.6272 MB / 0.5848 GB, free: 3.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1499, allocations: 12.03 kB / 0.5848 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.1499, allocations: 46.73 kB / 0.5849 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1501, allocations: 40.5 kB / 0.5849 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1504, allocations: 279.5 kB / 0.5852 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1504, allocations: 12.66 kB / 0.5852 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1504, allocations: 19.88 kB / 0.5852 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.1509, allocations: 224.7 kB / 0.5854 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1509, allocations: 0 / 0.5854 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1509, allocations: 8 kB / 0.5854 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1509, allocations: 4 kB / 0.5854 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.1515, allocations: 199.7 kB / 0.5856 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/0.1525, allocations: 0.9384 MB / 0.5865 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.1532, allocations: 237.2 kB / 0.5867 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1535, allocations: 117.5 kB / 0.5869 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1536, allocations: 0 / 0.5869 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1536, allocations: 38.56 kB / 0.5869 GB, free: 1.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.1536, allocations: 0 / 0.5869 GB, free: 1.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001014/0.1546, allocations: 337.3 kB / 0.5872 GB, free: 0.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1547, allocations: 85.11 kB / 0.5873 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1549, allocations: 267 kB / 0.5876 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1549, allocations: 29.7 kB / 0.5876 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.155, allocations: 156.2 kB / 0.5877 GB, free: 408 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1551, allocations: 67.11 kB / 0.5878 GB, free: 340 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.1551, allocations: 37.7 kB / 0.5878 GB, free: 296 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1552, allocations: 334.8 kB / 0.5882 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.1555, allocations: 95.92 kB / 0.5882 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.1558, allocations: 141.9 kB / 0.5884 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.1564, allocations: 246.3 kB / 0.5886 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1564, allocations: 0 / 0.5886 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007193/0.1572, allocations: 301 kB / 0.5889 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1572, allocations: 4 kB / 0.5889 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1572, allocations: 4 kB / 0.5889 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1572, allocations: 0 / 0.5889 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.1575, allocations: 59.89 kB / 0.589 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1575, allocations: 8.125 kB / 0.589 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.1577, allocations: 39.8 kB / 0.589 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.1577, allocations: 8 kB / 0.589 GB, free: 15.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.1578, allocations: 133.7 kB / 0.5891 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1579, allocations: 23.72 kB / 0.5892 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/0.1587, allocations: 295.3 kB / 0.5895 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1587, allocations: 4 kB / 0.5895 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1587, allocations: 0 / 0.5895 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1587, allocations: 7.984 kB / 0.5895 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.159, allocations: 301.3 kB / 0.5897 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.159, allocations: 0 / 0.5897 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1593, allocations: 51.95 kB / 0.5898 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1593, allocations: 3.984 kB / 0.5898 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1593, allocations: 8 kB / 0.5898 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1593, allocations: 0 / 0.5898 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1593, allocations: 3.938 kB / 0.5898 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.1601, allocations: 456.3 kB / 0.5902 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1601, allocations: 100.8 kB / 0.5903 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1602, allocations: 8 kB / 0.5904 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.1604, allocations: 31.95 kB / 0.5904 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.1605, allocations: 11.98 kB / 0.5904 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1605, allocations: 8 kB / 0.5904 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001478/0.1606, allocations: 190 kB / 0.5906 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1606, allocations: 0 / 0.5906 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003204/0.161, allocations: 60.14 kB / 0.5906 GB, free: 13.25 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 (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.0009945/0.162, allocations: 0.9885 MB / 0.5916 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006265/0.1626, allocations: 220 kB / 0.5918 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1626, allocations: 0 / 0.5918 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.1629, allocations: 120.3 kB / 0.5919 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.1635, allocations: 65.03 kB / 0.592 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.169, allocations: 2.785 MB / 0.5947 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1694, allocations: 0.7557 MB / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.1696, allocations: 30.22 kB / 0.5955 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.1698, allocations: 79.41 kB / 0.5956 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1698, allocations: 4 kB / 0.5956 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3881/0.5579, allocations: 5.975 MB / 0.6014 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.5582, allocations: 196.9 kB / 0.6016 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.307, allocations: 0 / 0.6016 GB, free: 2.031 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)