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.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 197 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.744/0.744, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 65.56 kB / 0.5019 GB, free: 8.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1333, allocations: 80.21 MB / 0.5802 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003263/0.1366, allocations: 2.115 MB / 0.5823 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1382, allocations: 1.021 MB / 0.5833 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1384, allocations: 7.938 kB / 0.5833 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.723e-05/0.1384, allocations: 27.61 kB / 0.5833 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.1387, allocations: 83.27 kB / 0.5834 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.1392, allocations: 198.4 kB / 0.5836 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.1395, allocations: 294.8 kB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1397, allocations: 68.92 kB / 0.5839 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1398, allocations: 103.6 kB / 0.584 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1401, allocations: 143.3 kB / 0.5842 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.1401, allocations: 16 kB / 0.5842 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.1405, allocations: 299.6 kB / 0.5845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.1406, allocations: 47.84 kB / 0.5845 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1407, allocations: 119.3 kB / 0.5846 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.141, allocations: 318.9 kB / 0.5849 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.141, allocations: 4 kB / 0.5849 GB, free: 3.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.141, allocations: 0 / 0.5849 GB, free: 3.789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.141, allocations: 0 / 0.5849 GB, free: 3.789 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.001048/0.1421, allocations: 0.631 MB / 0.5855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1421, allocations: 8.031 kB / 0.5855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.1422, allocations: 46.75 kB / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.1424, allocations: 40.55 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1427, allocations: 271.5 kB / 0.5859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1427, allocations: 8.656 kB / 0.5859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1428, allocations: 19.94 kB / 0.5859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.1433, allocations: 232.6 kB / 0.5861 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1433, allocations: 0 / 0.5861 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1433, allocations: 12 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1433, allocations: 8 kB / 0.5862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.144, allocations: 195.7 kB / 0.5863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1451, allocations: 0.9462 MB / 0.5873 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.1459, allocations: 241.1 kB / 0.5875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.1462, allocations: 101.6 kB / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1462, allocations: 4 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1463, allocations: 46.48 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1463, allocations: 0 / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001175/0.1475, allocations: 337.9 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.1475, allocations: 81.11 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1477, allocations: 270.9 kB / 0.5883 GB, free: 84 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1478, allocations: 29.7 kB / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1479, allocations: 160.2 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.1479, allocations: 55.2 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.148, allocations: 37.7 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1481, allocations: 338.8 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.1485, allocations: 87.91 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.1488, allocations: 145.5 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.1495, allocations: 249.7 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1495, allocations: 0 / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008409/0.1504, allocations: 297 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1504, allocations: 4 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1504, allocations: 4 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1504, allocations: 0 / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.1507, allocations: 63.88 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1507, allocations: 4 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.151, allocations: 35.81 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.151, allocations: 16.05 kB / 0.5898 GB, free: 14.52 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 0.0001107/0.1511, allocations: 133.7 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1512, allocations: 27.72 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008139/0.1521, allocations: 283.2 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1521, allocations: 4.281 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1521, allocations: 0 / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1521, allocations: 3.938 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.1524, allocations: 305.2 kB / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1524, allocations: 0 / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.1527, allocations: 59.94 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1527, allocations: 0 / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.1528, allocations: 8 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1528, allocations: 3.938 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1528, allocations: 0 / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000842/0.1536, allocations: 447.8 kB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.1537, allocations: 104.8 kB / 0.5911 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.1537, allocations: 4 kB / 0.5911 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.154, allocations: 23.97 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1541, allocations: 23.97 kB / 0.5911 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1541, allocations: 7.984 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001605/0.1543, allocations: 194 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1543, allocations: 0 / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000351/0.1546, allocations: 56.16 kB / 0.5914 GB, free: 12.76 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.001161/0.1558, allocations: 0.9866 MB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.1566, allocations: 235.6 kB / 0.5926 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1566, allocations: 4 kB / 0.5926 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.1569, allocations: 120.2 kB / 0.5927 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.1575, allocations: 73.64 kB / 0.5927 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.1614, allocations: 2.712 MB / 0.5954 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1617, allocations: 0.7519 MB / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.1619, allocations: 26.3 kB / 0.5962 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.162, allocations: 87.41 kB / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.162, allocations: 3.938 kB / 0.5962 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2127/0.3747, allocations: 6.444 MB / 0.6025 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.023, allocations: 11.23 kB / 0.6025 GB, free: 1.344 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)