Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.753/0.753, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 179.7 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.1 MB / 404.5 MB, free: 1.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 94.2 kB / 481.8 MB, free: 4.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.451e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1778, allocations: 76.76 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/1.568, allocations: 371.4 MB / 0.991 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/1.568, allocations: 97.06 kB / 0.9911 GB, free: 141.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 11.67/13.24, allocations: 2.63 GB / 3.621 GB, free: 34.26 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.637e-06/13.24, allocations: 0 / 3.621 GB, free: 34.26 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001312/13.24, allocations: 175.3 kB / 3.621 GB, free: 34.23 MB / 0.7917 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.02513/13.26, allocations: 5.898 MB / 3.627 GB, free: 31.55 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.549e-05/13.26, allocations: 9.25 kB / 3.627 GB, free: 31.55 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002656/13.27, allocations: 0.5336 MB / 3.627 GB, free: 31.49 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/13.27, allocations: 0.7692 MB / 3.628 GB, free: 31.12 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1358/13.41, allocations: 58.64 MB / 3.685 GB, free: 27.95 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/13.41, allocations: 317.9 kB / 3.686 GB, free: 27.93 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/13.41, allocations: 429.4 kB / 3.686 GB, free: 27.93 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/13.42, allocations: 4.487 MB / 3.69 GB, free: 27.15 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/13.42, allocations: 14.62 kB / 3.69 GB, free: 27.15 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/13.42, allocations: 174.9 kB / 3.691 GB, free: 27.14 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/13.42, allocations: 124.4 kB / 3.691 GB, free: 27.14 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008422/13.43, allocations: 3.138 MB / 3.694 GB, free: 27.11 MB / 0.7917 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.03138/13.46, allocations: 24.09 MB / 3.717 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/13.47, allocations: 3.225 MB / 3.72 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/13.47, allocations: 1.012 MB / 3.721 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004651/13.47, allocations: 3.937 MB / 3.725 GB, free: 22.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/13.47, allocations: 60.47 kB / 3.725 GB, free: 22.92 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=222): time 4.178e-06/13.47, allocations: 0 / 3.725 GB, free: 22.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=222): time 0.02032/13.5, allocations: 3.93 MB / 3.729 GB, free: 22.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/13.5, allocations: 75.7 kB / 3.729 GB, free: 22.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/13.51, allocations: 3.497 MB / 3.733 GB, free: 22.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008443/13.51, allocations: 74.02 kB / 3.733 GB, free: 22.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0033/13.51, allocations: 2.824 MB / 3.735 GB, free: 21.22 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/13.51, allocations: 0.7771 MB / 3.736 GB, free: 20.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/13.51, allocations: 56.25 kB / 3.736 GB, free: 20.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003588/13.51, allocations: 404.3 kB / 3.737 GB, free: 20.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/13.51, allocations: 0.806 MB / 3.737 GB, free: 20.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/13.52, allocations: 1.84 MB / 3.739 GB, free: 19.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/13.52, allocations: 1.106 MB / 3.74 GB, free: 19.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.291e-05/13.52, allocations: 4.719 kB / 3.74 GB, free: 19.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01665/13.54, allocations: 4.068 MB / 3.744 GB, free: 18.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005693/13.54, allocations: 11.46 MB / 3.756 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/13.54, allocations: 26.03 kB / 3.756 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/13.54, allocations: 499.1 kB / 3.756 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/13.55, allocations: 0.5251 MB / 3.757 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/13.55, allocations: 2.825 MB / 3.759 GB, free: 20.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009223/13.56, allocations: 0.5956 MB / 3.76 GB, free: 20.62 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/13.56, allocations: 141 kB / 3.76 GB, free: 20.62 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/13.56, allocations: 5.781 kB / 3.76 GB, free: 20.62 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007846/13.57, allocations: 2.688 MB / 3.763 GB, free: 20.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/13.57, allocations: 25.66 kB / 3.763 GB, free: 20.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/13.57, allocations: 351.6 kB / 3.763 GB, free: 20.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/13.57, allocations: 0.5281 MB / 3.764 GB, free: 20.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/13.58, allocations: 7.586 MB / 3.771 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008263/13.59, allocations: 0.5055 MB / 3.771 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009192/13.59, allocations: 130.7 kB / 3.772 GB, free: 14.73 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 294 * 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.001643/13.59, allocations: 284.4 kB / 3.772 GB, free: 14.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002699/13.6, allocations: 0.498 MB / 3.772 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/13.61, allocations: 4.599 MB / 3.777 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001414/13.61, allocations: 38.55 kB / 3.777 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/13.61, allocations: 0 / 3.777 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01404/13.63, allocations: 3.242 MB / 3.78 GB, free: 13.85 MB / 0.823 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.03399/13.66, allocations: 9.278 MB / 3.789 GB, free: 12.31 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/13.66, allocations: 0 / 3.789 GB, free: 12.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/13.66, allocations: 370.5 kB / 3.789 GB, free: 12.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/13.67, allocations: 398.9 kB / 3.79 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005742/13.67, allocations: 70.09 kB / 3.79 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/13.69, allocations: 8.722 MB / 3.798 GB, free: 6.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/13.69, allocations: 0 / 3.798 GB, free: 6.57 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/13.7, allocations: 5.263 MB / 3.803 GB, free: 5.922 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005134/13.71, allocations: 0.9479 MB / 3.804 GB, free: 5.52 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002905/13.71, allocations: 44.78 kB / 3.804 GB, free: 5.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006545/13.72, allocations: 488.8 kB / 3.805 GB, free: 5.449 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008998/13.72, allocations: 178.7 kB / 3.805 GB, free: 5.441 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005997/13.72, allocations: 97 kB / 3.805 GB, free: 5.441 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.007658/13.73, allocations: 2.682 MB / 3.808 GB, free: 5.238 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.21e-07/13.73, allocations: 4 kB / 3.808 GB, free: 5.234 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.02424/13.75, allocations: 3.683 MB / 3.811 GB, free: 4.707 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (220): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * 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.02744/13.78, allocations: 9.223 MB / 3.82 GB, free: 1.863 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01109/13.79, allocations: 4.554 MB / 3.825 GB, free: 1.105 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/13.79, allocations: 0 / 3.825 GB, free: 1.105 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003947/13.79, allocations: 1.821 MB / 3.827 GB, free: 0.582 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01733/13.81, allocations: 2.728 MB / 3.829 GB, free: 424 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/13.84, allocations: 8.547 MB / 3.838 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005323/13.85, allocations: 3 MB / 3.841 GB, free: 13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01086/13.86, allocations: 1.5 MB / 3.842 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004889/13.86, allocations: 2.464 MB / 3.844 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of SimCode: time 1.523e-06/13.86, allocations: 1.094 kB / 3.844 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.155/15.02, allocations: 194.1 MB / 4.034 GB, free: 77.88 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/15.02, allocations: 223.6 kB / 4.034 GB, free: 77.66 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/25.8, allocations: 4 kB / 4.034 GB, free: 77.66 MB / 0.8542 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)