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.8445/0.8445, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001064, allocations: 188.2 kB / 173.7 MB, free: 6.125 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.634/1.634, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008598/0.0008599, allocations: 102.5 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003591, allocations: 9.781 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 76.78 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.208, allocations: 371.5 MB / 0.9982 GB, free: 172.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/1.209, allocations: 100.4 kB / 0.9983 GB, free: 172.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 10.3/11.51, allocations: 2.638 GB / 3.637 GB, free: 25.17 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.454e-06/11.51, allocations: 0.7656 kB / 3.637 GB, free: 25.17 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0008907/11.51, allocations: 172.3 kB / 3.637 GB, free: 25.12 MB / 0.7761 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.0225/11.53, allocations: 7.133 MB / 3.644 GB, free: 21.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/11.53, allocations: 9.406 kB / 3.644 GB, free: 21.45 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002302/11.53, allocations: 0.5345 MB / 3.644 GB, free: 21.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/11.54, allocations: 0.7748 MB / 3.645 GB, free: 21.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1194/11.66, allocations: 58.95 MB / 3.703 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000401/11.66, allocations: 320.1 kB / 3.703 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/11.66, allocations: 427.9 kB / 3.703 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/11.67, allocations: 4.658 MB / 3.708 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/11.67, allocations: 11.88 kB / 3.708 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004508/11.67, allocations: 179.9 kB / 3.708 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/11.67, allocations: 124 kB / 3.708 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/11.68, allocations: 3.335 MB / 3.711 GB, free: 1.809 MB / 0.8073 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.7134/12.4, allocations: 24.06 MB / 3.735 GB, free: 31.35 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/12.4, allocations: 3.359 MB / 3.738 GB, free: 30.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002399/12.41, allocations: 3.936 MB / 3.742 GB, free: 25.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/12.41, allocations: 64.08 kB / 3.742 GB, free: 25.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=222): time 4.378e-06/12.41, allocations: 0 / 3.742 GB, free: 25.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=222): time 0.02367/12.43, allocations: 5.687 MB / 3.748 GB, free: 24.99 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/12.43, allocations: 80.53 kB / 3.748 GB, free: 24.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008997/12.44, allocations: 3.57 MB / 3.751 GB, free: 24.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006189/12.44, allocations: 78.42 kB / 3.751 GB, free: 24.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002745/12.44, allocations: 2.825 MB / 3.754 GB, free: 23.96 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/12.44, allocations: 0.7758 MB / 3.755 GB, free: 23.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/12.44, allocations: 57.44 kB / 3.755 GB, free: 23.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001633/12.44, allocations: 405.2 kB / 3.755 GB, free: 23.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/12.45, allocations: 0.9182 MB / 3.756 GB, free: 23.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/12.45, allocations: 1.96 MB / 3.758 GB, free: 22.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/12.45, allocations: 1.206 MB / 3.759 GB, free: 22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-05/12.45, allocations: 10.72 kB / 3.759 GB, free: 22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01709/12.47, allocations: 4.378 MB / 3.764 GB, free: 21.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004711/12.47, allocations: 11.46 MB / 3.775 GB, free: 25.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.524e-05/12.47, allocations: 25.59 kB / 3.775 GB, free: 25.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/12.48, allocations: 0.6503 MB / 3.775 GB, free: 25.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/12.48, allocations: 0.5299 MB / 3.776 GB, free: 25.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/12.48, allocations: 3.067 MB / 3.779 GB, free: 23.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007223/12.49, allocations: 0.5958 MB / 3.78 GB, free: 23.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008099/12.49, allocations: 139.5 kB / 3.78 GB, free: 23.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/12.49, allocations: 4.984 kB / 3.78 GB, free: 23.55 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007075/12.5, allocations: 2.77 MB / 3.782 GB, free: 23.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-05/12.5, allocations: 25.75 kB / 3.782 GB, free: 23.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/12.5, allocations: 353.3 kB / 3.783 GB, free: 23.42 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/12.5, allocations: 0.5261 MB / 3.783 GB, free: 23.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009041/12.51, allocations: 7.697 MB / 3.791 GB, free: 17.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005796/12.52, allocations: 0.504 MB / 3.791 GB, free: 17.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006642/12.52, allocations: 134.3 kB / 3.791 GB, free: 17.74 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 () * Number of clocked 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.003678/12.52, allocations: 0.9953 MB / 3.792 GB, free: 17.55 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/12.52, allocations: 0.5049 MB / 3.793 GB, free: 17.29 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/12.54, allocations: 4.908 MB / 3.798 GB, free: 17.02 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/12.54, allocations: 40.59 kB / 3.798 GB, free: 17.02 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/12.54, allocations: 3.656 kB / 3.798 GB, free: 17.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01508/12.56, allocations: 3.546 MB / 3.801 GB, free: 16.82 MB / 0.823 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.0338/12.59, allocations: 9.569 MB / 3.811 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/12.59, allocations: 0.5 kB / 3.811 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/12.59, allocations: 374.8 kB / 3.811 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/12.59, allocations: 0.5515 MB / 3.811 GB, free: 15.32 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004284/12.59, allocations: 65.89 kB / 3.811 GB, free: 15.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02526/12.62, allocations: 9.791 MB / 3.821 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/12.62, allocations: 0 / 3.821 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/12.64, allocations: 5.682 MB / 3.827 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004191/12.64, allocations: 0.9414 MB / 3.827 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0021/12.65, allocations: 50.69 kB / 3.828 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005764/12.65, allocations: 486.2 kB / 3.828 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006295/12.65, allocations: 173.4 kB / 3.828 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004283/12.65, allocations: 96.23 kB / 3.828 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.006762/12.66, allocations: 2.755 MB / 3.831 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.61e-07/12.66, allocations: 3.562 kB / 3.831 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01979/12.68, allocations: 3.689 MB / 3.835 GB, free: 24.31 MB / 0.8386 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 () * Number of clocked 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.02747/12.71, allocations: 9.666 MB / 3.844 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01085/12.72, allocations: 4.645 MB / 3.849 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/12.72, allocations: 0 / 3.849 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004009/12.72, allocations: 1.93 MB / 3.85 GB, free: 21.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01501/12.74, allocations: 2.733 MB / 3.853 GB, free: 20.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/12.84, allocations: 53.64 MB / 3.905 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004531/12.84, allocations: 2.998 MB / 3.908 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00622/12.85, allocations: 1.192 MB / 3.91 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004183/12.85, allocations: 2.558 MB / 3.912 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/12.85, allocations: 0 / 3.912 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9674/13.82, allocations: 183.8 MB / 4.092 GB, free: 116 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/13.82, allocations: 255.7 kB / 4.092 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/22.42, allocations: 3.391 kB / 4.092 GB, free: 115.7 MB / 0.8855 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)