Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002509/0.002508, allocations: 182.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5593/0.5593, allocations: 91.97 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.73/1.73, allocations: 223.2 MB / 354.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 103.4 kB / 427.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003594, allocations: 12 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1642, allocations: 72.31 MB / 0.5689 GB, free: 1.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.362, allocations: 374.1 MB / 0.9343 GB, free: 92.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/1.363, allocations: 93.64 kB / 0.9344 GB, free: 92.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 13.08/14.45, allocations: 2.806 GB / 3.74 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.615e-06/14.45, allocations: 0 / 3.74 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001682/14.45, allocations: 175.2 kB / 3.741 GB, free: 27.41 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.03583/14.48, allocations: 7.169 MB / 3.748 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 8.434e-05/14.48, allocations: 7.219 kB / 3.748 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004427/14.49, allocations: 0.5348 MB / 3.748 GB, free: 23.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006738/14.5, allocations: 0.7901 MB / 3.749 GB, free: 23.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1403/14.64, allocations: 60.98 MB / 3.808 GB, free: 17.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005029/14.64, allocations: 314.2 kB / 3.809 GB, free: 17.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/14.64, allocations: 419.2 kB / 3.809 GB, free: 17.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/14.65, allocations: 4.279 MB / 3.813 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003293/14.65, allocations: 19.34 kB / 3.813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/14.66, allocations: 173.3 kB / 3.814 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/14.66, allocations: 120.5 kB / 3.814 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008814/14.67, allocations: 2.899 MB / 3.816 GB, free: 13.19 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04104/14.71, allocations: 24.04 MB / 3.84 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/14.71, allocations: 2.97 MB / 3.843 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003937/14.72, allocations: 3.935 MB / 3.847 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.908e-05/14.72, allocations: 64.56 kB / 3.847 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=225): time 8.466e-06/14.72, allocations: 4 kB / 3.847 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=225): time 0.01242/14.73, allocations: 4.089 MB / 3.851 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/14.73, allocations: 81.41 kB / 3.851 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/14.74, allocations: 3.69 MB / 3.854 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0008599/14.74, allocations: 81.7 kB / 3.854 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003773/14.74, allocations: 2.774 MB / 3.857 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/14.75, allocations: 0.7855 MB / 3.858 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/14.75, allocations: 56 kB / 3.858 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003718/14.75, allocations: 407.4 kB / 3.858 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/14.75, allocations: 0.8056 MB / 3.859 GB, free: 308 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8379/15.59, allocations: 1.794 MB / 3.861 GB, free: 56.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/15.59, allocations: 1.094 MB / 3.862 GB, free: 56.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.253e-05/15.59, allocations: 8.594 kB / 3.862 GB, free: 56.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01268/15.6, allocations: 3.343 MB / 3.865 GB, free: 56.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002386/15.61, allocations: 10.37 MB / 3.875 GB, free: 45.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-05/15.61, allocations: 24.36 kB / 3.875 GB, free: 45.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/15.61, allocations: 397.2 kB / 3.876 GB, free: 45.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/15.61, allocations: 0.5291 MB / 3.876 GB, free: 45.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/15.61, allocations: 2.691 MB / 3.879 GB, free: 43.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009051/15.62, allocations: 0.5485 MB / 3.88 GB, free: 43.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008557/15.62, allocations: 135.8 kB / 3.88 GB, free: 43.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/15.62, allocations: 3.812 kB / 3.88 GB, free: 43.25 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008047/15.63, allocations: 2.813 MB / 3.882 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.191e-05/15.63, allocations: 20.34 kB / 3.882 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/15.63, allocations: 374.2 kB / 3.883 GB, free: 43.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/15.64, allocations: 0.5262 MB / 3.883 GB, free: 43.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/15.65, allocations: 7.806 MB / 3.891 GB, free: 37.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008553/15.66, allocations: 0.5097 MB / 3.891 GB, free: 37.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009585/15.66, allocations: 128.5 kB / 3.892 GB, free: 37.59 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004812/15.66, allocations: 1.002 MB / 3.892 GB, free: 37.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002434/15.66, allocations: 0.5085 MB / 3.893 GB, free: 37.15 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/15.68, allocations: 3.789 MB / 3.897 GB, free: 36.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.869e-05/15.68, allocations: 40.27 kB / 3.897 GB, free: 36.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/15.68, allocations: 2.656 kB / 3.897 GB, free: 36.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005739/15.68, allocations: 2.599 MB / 3.899 GB, free: 36.66 MB / 0.7761 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02868/15.71, allocations: 8.576 MB / 3.908 GB, free: 35.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/15.71, allocations: 1.219 kB / 3.908 GB, free: 35.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/15.71, allocations: 385.1 kB / 3.908 GB, free: 35.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009392/15.71, allocations: 312.2 kB / 3.908 GB, free: 35.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/15.71, allocations: 63.92 kB / 3.908 GB, free: 35.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/15.72, allocations: 2.493 MB / 3.911 GB, free: 33.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-06/15.72, allocations: 7.938 kB / 3.911 GB, free: 33.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/15.73, allocations: 4.749 MB / 3.915 GB, free: 32.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00541/15.73, allocations: 0.9971 MB / 3.916 GB, free: 31.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002251/15.73, allocations: 42.94 kB / 3.916 GB, free: 31.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006939/15.74, allocations: 444.2 kB / 3.917 GB, free: 31.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004895/15.74, allocations: 154.5 kB / 3.917 GB, free: 31.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004762/15.74, allocations: 115.4 kB / 3.917 GB, free: 31.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.008256/15.75, allocations: 2.823 MB / 3.92 GB, free: 31.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.81e-07/15.75, allocations: 1.406 kB / 3.92 GB, free: 31.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.02273/15.77, allocations: 3.591 MB / 3.923 GB, free: 31.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0159/15.79, allocations: 8.633 MB / 3.932 GB, free: 29.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008945/15.8, allocations: 4.439 MB / 3.936 GB, free: 28.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/15.8, allocations: 0 / 3.936 GB, free: 28.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/15.8, allocations: 1.322 MB / 3.937 GB, free: 28.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.015/15.82, allocations: 2.704 MB / 3.94 GB, free: 28.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08588/15.9, allocations: 50.91 MB / 3.99 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00575/15.91, allocations: 2.999 MB / 3.993 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.008125/15.92, allocations: 1.208 MB / 3.994 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005775/15.92, allocations: 2.55 MB / 3.996 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of SimCode: time 1.773e-06/15.92, allocations: 0 / 3.996 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3197/16.24, allocations: 173.3 MB / 4.166 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/16.24, allocations: 250.8 kB / 4.166 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/26.38, allocations: 0 / 4.166 GB, free: 2.348 MB / 0.8386 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)