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.005273/0.005272, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001289/0.001289, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 422.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1775, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003308/0.1809, allocations: 2.115 MB / 0.6613 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1826, allocations: 1.033 MB / 0.6623 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1827, allocations: 15.88 kB / 0.6623 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.811e-05/0.1828, allocations: 23.67 kB / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1831, allocations: 83.28 kB / 0.6624 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.1836, allocations: 191.5 kB / 0.6626 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.1839, allocations: 294.9 kB / 0.6629 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.1841, allocations: 75.31 kB / 0.6629 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.1844, allocations: 107.6 kB / 0.663 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.1847, allocations: 143.3 kB / 0.6632 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.1847, allocations: 16 kB / 0.6632 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.1851, allocations: 291.7 kB / 0.6635 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.1852, allocations: 55.75 kB / 0.6635 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1853, allocations: 111.3 kB / 0.6636 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.1858, allocations: 331.7 kB / 0.6639 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.1858, allocations: 4 kB / 0.6639 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1858, allocations: 7.938 kB / 0.6639 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.1858, allocations: 0 / 0.6639 GB, free: 5.898 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.001086/0.1869, allocations: 0.6193 MB / 0.6645 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.187, allocations: 8.031 kB / 0.6646 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.187, allocations: 50.73 kB / 0.6646 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.1872, allocations: 40.55 kB / 0.6646 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.1877, allocations: 287.5 kB / 0.6649 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1877, allocations: 16.41 kB / 0.6649 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1877, allocations: 16 kB / 0.6649 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.1882, allocations: 224.7 kB / 0.6652 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1882, allocations: 3.938 kB / 0.6652 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1883, allocations: 4 kB / 0.6652 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1883, allocations: 7.938 kB / 0.6652 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.1889, allocations: 205.8 kB / 0.6654 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.1901, allocations: 0.9422 MB / 0.6663 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.1908, allocations: 233.2 kB / 0.6665 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.1911, allocations: 105.6 kB / 0.6666 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.1912, allocations: 11.94 kB / 0.6666 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1912, allocations: 34.56 kB / 0.6667 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1912, allocations: 0 / 0.6667 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001097/0.1923, allocations: 337.4 kB / 0.667 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1924, allocations: 81.09 kB / 0.6671 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.1927, allocations: 259 kB / 0.6673 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1927, allocations: 29.7 kB / 0.6673 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1928, allocations: 168.1 kB / 0.6675 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.1929, allocations: 55.19 kB / 0.6675 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.1929, allocations: 45.7 kB / 0.6676 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1931, allocations: 334.8 kB / 0.6679 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.1934, allocations: 91.92 kB / 0.668 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.1937, allocations: 145.8 kB / 0.6681 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.1943, allocations: 230.4 kB / 0.6684 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1943, allocations: 8 kB / 0.6684 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007738/0.1951, allocations: 285.2 kB / 0.6686 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1951, allocations: 12 kB / 0.6687 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1951, allocations: 0 / 0.6687 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1951, allocations: 4 kB / 0.6687 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.1954, allocations: 63.89 kB / 0.6687 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1954, allocations: 3.984 kB / 0.6687 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1957, allocations: 43.81 kB / 0.6688 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1957, allocations: 7.938 kB / 0.6688 GB, free: 0.6328 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.0001482/0.1958, allocations: 141.7 kB / 0.6689 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.196, allocations: 23.72 kB / 0.6689 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.1967, allocations: 295.1 kB / 0.6692 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1967, allocations: 0 / 0.6692 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1968, allocations: 4 kB / 0.6692 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1968, allocations: 3.984 kB / 0.6692 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.1972, allocations: 301.3 kB / 0.6695 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1972, allocations: 0 / 0.6695 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.1975, allocations: 59.88 kB / 0.6696 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1975, allocations: 4 kB / 0.6696 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1975, allocations: 4 kB / 0.6696 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1975, allocations: 4 kB / 0.6696 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1975, allocations: 0 / 0.6696 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.1983, allocations: 442.2 kB / 0.67 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/0.1984, allocations: 104.7 kB / 0.6701 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1984, allocations: 8 kB / 0.6701 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.1987, allocations: 27.95 kB / 0.6701 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.1988, allocations: 23.92 kB / 0.6701 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1988, allocations: 4 kB / 0.6702 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001811/0.199, allocations: 190 kB / 0.6703 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.199, allocations: 0 / 0.6703 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003517/0.1993, allocations: 52 kB / 0.6704 GB, free: 14.87 MB / 0.5137 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.001181/0.2005, allocations: 0.9949 MB / 0.6714 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006847/0.2012, allocations: 227.7 kB / 0.6716 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2012, allocations: 0 / 0.6716 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.2015, allocations: 120.2 kB / 0.6717 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.2021, allocations: 65.34 kB / 0.6717 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.206, allocations: 2.699 MB / 0.6744 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2063, allocations: 0.7518 MB / 0.6751 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.2065, allocations: 30.3 kB / 0.6751 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2066, allocations: 87.41 kB / 0.6752 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.2066, allocations: 0 / 0.6752 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.2308, allocations: 6.551 MB / 0.6816 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.869, allocations: 10.64 kB / 0.6816 GB, free: 3.387 MB / 0.5137 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)