Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_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.001631/0.001631, allocations: 108 kB / 15.6 MB, free: 132 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.001805/0.001805, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 287 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9214/0.9214, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003239/0.003239, allocations: 95.91 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1872, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00377/0.191, allocations: 1.554 MB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.193, allocations: 0.9115 MB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.1931, allocations: 0.7812 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.1931, allocations: 7.938 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1934, allocations: 21.5 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.1939, allocations: 141.1 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1941, allocations: 79.64 kB / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1942, allocations: 17.33 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1943, allocations: 36.97 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1945, allocations: 35.84 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1945, allocations: 5 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.1951, allocations: 283.6 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.1952, allocations: 15.92 kB / 0.6833 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.1952, allocations: 31.81 kB / 0.6833 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1956, allocations: 147.6 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1956, allocations: 0 / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1956, allocations: 4 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1956, allocations: 0 / 0.6835 GB, free: 13.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006786/0.1963, allocations: 405 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1964, allocations: 12.02 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.1964, allocations: 38.69 kB / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.1966, allocations: 16.83 kB / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1968, allocations: 189.9 kB / 0.6841 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-06/0.1968, allocations: 384 / 0.6841 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1969, allocations: 8.375 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1971, allocations: 65.78 kB / 0.6842 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1971, allocations: 4 kB / 0.6842 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1972, allocations: 0 / 0.6842 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1972, allocations: 0 / 0.6842 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1974, allocations: 47.91 kB / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.198, allocations: 296.7 kB / 0.6845 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1982, allocations: 54.56 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.1983, allocations: 32.95 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1984, allocations: 0 / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1984, allocations: 34.56 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1984, allocations: 0 / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005465/0.199, allocations: 109.5 kB / 0.6847 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.199, allocations: 51.41 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1992, allocations: 136.1 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1992, allocations: 33.64 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.1993, allocations: 96.12 kB / 0.685 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1993, allocations: 11.75 kB / 0.6851 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.1994, allocations: 25.7 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1996, allocations: 318.8 kB / 0.6854 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1997, allocations: 19.98 kB / 0.6854 GB, free: 11.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1998, allocations: 35.97 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.2001, allocations: 48.78 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2001, allocations: 0 / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003637/0.2005, allocations: 89.56 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2005, allocations: 8 kB / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2005, allocations: 0 / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2006, allocations: 0 / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.2007, allocations: 19.98 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2008, allocations: 0 / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2009, allocations: 7.984 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2009, allocations: 4.438 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB 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 0.000103/0.201, allocations: 115.1 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.2011, allocations: 15.84 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.2015, allocations: 102 kB / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2015, allocations: 0 / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2015, allocations: 0 / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2015, allocations: 4 kB / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.2018, allocations: 189.5 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2018, allocations: 0 / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.202, allocations: 15.98 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.202, allocations: 0 / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.202, allocations: 0 / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.202, allocations: 0 / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.202, allocations: 0 / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.2024, allocations: 195.4 kB / 0.6862 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.2025, allocations: 84.95 kB / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2025, allocations: 0 / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.2027, allocations: 11.98 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.2027, allocations: 4 kB / 0.6863 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2028, allocations: 3.938 kB / 0.6863 GB, free: 10.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.2029, allocations: 107.2 kB / 0.6864 GB, free: 9.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2029, allocations: 4 kB / 0.6864 GB, free: 9.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004479/0.2033, allocations: 19.91 kB / 0.6864 GB, free: 9.93 MB / 494.1 MB 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.0007802/0.2041, allocations: 0.7342 MB / 0.6872 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.2045, allocations: 67.89 kB / 0.6872 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2045, allocations: 0 / 0.6872 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2046, allocations: 31.92 kB / 0.6873 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.2052, allocations: 24.31 kB / 0.6873 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.2074, allocations: 1.459 MB / 0.6887 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.2077, allocations: 0.6924 MB / 0.6894 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.141e-05/0.2078, allocations: 11.98 kB / 0.6894 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.2079, allocations: 19.44 kB / 0.6894 GB, free: 6.766 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2079, allocations: 4 kB / 0.6894 GB, free: 6.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.249/1.457, allocations: 2.279 MB / 0.6916 GB, free: 4.613 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/10.03, allocations: 9.828 kB / 0.6916 GB, free: 4.605 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)