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.001318/0.001318, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.513/0.513, allocations: 90.92 MB / 99.35 MB, free: 2.156 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 94.42 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.124e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1797, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.409, allocations: 373.4 MB / 0.9182 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.409, allocations: 96.17 kB / 0.9183 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 10.52/11.93, allocations: 2.786 GB / 3.704 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.244e-06/11.93, allocations: 3.656 kB / 3.704 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001229/11.93, allocations: 174.1 kB / 3.704 GB, free: 33.4 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.01886/11.95, allocations: 5.918 MB / 3.71 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/11.95, allocations: 8.125 kB / 3.71 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005108/11.96, allocations: 0.7842 MB / 3.711 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1255/12.08, allocations: 60.52 MB / 3.77 GB, free: 25.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/12.08, allocations: 129.8 kB / 3.77 GB, free: 25.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/12.08, allocations: 252.1 kB / 3.77 GB, free: 25.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007535/12.09, allocations: 2.523 MB / 3.773 GB, free: 25.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/12.1, allocations: 3.608 MB / 3.776 GB, free: 25.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/12.1, allocations: 17.34 kB / 3.776 GB, free: 25.06 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/12.1, allocations: 14.23 kB / 3.776 GB, free: 25.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/12.1, allocations: 114.8 kB / 3.776 GB, free: 25.05 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.02681/12.13, allocations: 23.37 MB / 3.799 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/12.13, allocations: 2.843 MB / 3.802 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/12.13, allocations: 0.9958 MB / 3.803 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002239/12.13, allocations: 3.93 MB / 3.807 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/12.13, allocations: 73.98 kB / 3.807 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=225): time 4.869e-06/12.13, allocations: 0 / 3.807 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=225): time 0.007491/12.14, allocations: 2.877 MB / 3.809 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/12.14, allocations: 79.84 kB / 3.81 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005678/12.15, allocations: 3.305 MB / 3.813 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000522/12.15, allocations: 32.77 kB / 3.813 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002188/12.15, allocations: 2.788 MB / 3.816 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009849/12.15, allocations: 0.7534 MB / 3.816 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/12.15, allocations: 0 / 3.816 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002119/12.15, allocations: 406.3 kB / 3.817 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/12.15, allocations: 0.7332 MB / 3.817 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/12.16, allocations: 1.699 MB / 3.819 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/12.16, allocations: 1.368 MB / 3.82 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/12.16, allocations: 7.719 kB / 3.82 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008759/12.17, allocations: 3.45 MB / 3.824 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.004055/12.17, allocations: 10.33 MB / 3.834 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/12.17, allocations: 21.94 kB / 3.834 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/12.17, allocations: 337.8 kB / 3.834 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/12.17, allocations: 0.5273 MB / 3.835 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/12.18, allocations: 2.751 MB / 3.837 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006012/12.18, allocations: 0.4899 MB / 3.838 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004362/12.18, allocations: 134.5 kB / 3.838 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/12.18, allocations: 4 kB / 3.838 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007097/12.19, allocations: 2.76 MB / 3.841 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/12.19, allocations: 20 kB / 3.841 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009517/12.19, allocations: 351.7 kB / 3.841 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/12.19, allocations: 0.5221 MB / 3.842 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7814/12.97, allocations: 7.401 MB / 3.849 GB, free: 61.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/12.98, allocations: 456.7 kB / 3.849 GB, free: 61.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005871/12.98, allocations: 128.2 kB / 3.849 GB, free: 61.61 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 () * 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.0008641/12.98, allocations: 183.1 kB / 3.85 GB, free: 61.5 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009439/12.99, allocations: 2.747 MB / 3.852 GB, free: 61.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002259/12.99, allocations: 0.5038 MB / 3.853 GB, free: 61.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/13.01, allocations: 3.754 MB / 3.856 GB, free: 61.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.227e-05/13.01, allocations: 38.22 kB / 3.856 GB, free: 61.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/13.01, allocations: 0 / 3.856 GB, free: 61.06 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007689/13.01, allocations: 2.626 MB / 3.859 GB, free: 60.86 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or 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.02233/13.04, allocations: 8.092 MB / 3.867 GB, free: 59.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/13.04, allocations: 3.672 kB / 3.867 GB, free: 59.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/13.04, allocations: 385.1 kB / 3.867 GB, free: 59.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/13.04, allocations: 225.2 kB / 3.867 GB, free: 59.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/13.04, allocations: 41.34 kB / 3.867 GB, free: 59.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/13.04, allocations: 2.505 MB / 3.87 GB, free: 57.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/13.04, allocations: 1.5 kB / 3.87 GB, free: 57.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009228/13.05, allocations: 4.698 MB / 3.875 GB, free: 56.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/13.05, allocations: 0.9859 MB / 3.875 GB, free: 56.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/13.05, allocations: 6.312 kB / 3.875 GB, free: 56.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/13.06, allocations: 401.2 kB / 3.876 GB, free: 56.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/13.06, allocations: 152 kB / 3.876 GB, free: 56.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/13.06, allocations: 112.5 kB / 3.876 GB, free: 56.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.004279/13.06, allocations: 2.452 MB / 3.879 GB, free: 55.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2e-07/13.06, allocations: 1.203 kB / 3.879 GB, free: 55.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01499/13.08, allocations: 3.444 MB / 3.882 GB, free: 55.8 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 () * 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.01475/13.09, allocations: 8.565 MB / 3.89 GB, free: 53.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007707/13.1, allocations: 4.245 MB / 3.894 GB, free: 52.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/13.1, allocations: 0 / 3.894 GB, free: 52.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002113/13.1, allocations: 1.237 MB / 3.896 GB, free: 52.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/13.12, allocations: 2.606 MB / 3.898 GB, free: 52.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/13.14, allocations: 8.35 MB / 3.906 GB, free: 50.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/13.14, allocations: 3.011 MB / 3.909 GB, free: 49.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00847/13.15, allocations: 1.487 MB / 3.911 GB, free: 49.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003412/13.16, allocations: 2.458 MB / 3.913 GB, free: 49.84 MB / 0.7761 GB Notification: Performance of SimCode: time 1.664e-06/13.16, allocations: 0 / 3.913 GB, free: 49.84 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2729/13.43, allocations: 160.7 MB / 4.07 GB, free: 24.76 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/13.43, allocations: 169.5 kB / 4.07 GB, free: 24.56 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/21.12, allocations: 4 kB / 4.07 GB, free: 24.56 MB / 0.7761 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)