Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8439/0.8439, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 179.6 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 282.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.888e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4515, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8873/1.339, allocations: 380.6 MB / 1.129 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004383/1.339, allocations: 94.7 kB / 1.129 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 11.87/13.21, allocations: 2.776 GB / 3.905 GB, free: 33.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.334e-06/13.21, allocations: 3.25 kB / 3.905 GB, free: 33.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.00103/13.21, allocations: 169.5 kB / 3.905 GB, free: 33.77 MB / 0.823 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.01891/13.23, allocations: 5.9 MB / 3.911 GB, free: 30.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/13.23, allocations: 16.69 kB / 3.911 GB, free: 30.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/13.23, allocations: 0.7762 MB / 3.912 GB, free: 30.43 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1274/13.36, allocations: 60.47 MB / 3.971 GB, free: 26.43 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/13.36, allocations: 131.8 kB / 3.971 GB, free: 26.43 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/13.36, allocations: 252.7 kB / 3.971 GB, free: 26.42 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009316/13.37, allocations: 2.523 MB / 3.973 GB, free: 26.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/13.39, allocations: 3.609 MB / 3.977 GB, free: 25.59 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002994/13.39, allocations: 14.86 kB / 3.977 GB, free: 25.58 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/13.39, allocations: 9.5 kB / 3.977 GB, free: 25.58 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/13.39, allocations: 117 kB / 3.977 GB, free: 25.58 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 preOpt removeSimpleEquations (simulation): time 0.03995/13.43, allocations: 23.38 MB / 4 GB, free: 11.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/13.43, allocations: 2.844 MB / 4.003 GB, free: 9.938 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/13.43, allocations: 0.9932 MB / 4.004 GB, free: 9.922 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003729/13.44, allocations: 3.94 MB / 4.008 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.301e-05/13.44, allocations: 62.12 kB / 4.008 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 7.013e-06/13.44, allocations: 0 / 4.008 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.009115/13.45, allocations: 2.894 MB / 4.01 GB, free: 21.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/13.45, allocations: 74.59 kB / 4.011 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007314/13.45, allocations: 3.277 MB / 4.014 GB, free: 20.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0007861/13.45, allocations: 36.2 kB / 4.014 GB, free: 20.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002339/13.46, allocations: 2.767 MB / 4.016 GB, free: 17.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001202/13.46, allocations: 0.7567 MB / 4.017 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/13.46, allocations: 3.969 kB / 4.017 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002246/13.46, allocations: 402.5 kB / 4.018 GB, free: 17.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/13.46, allocations: 0.7297 MB / 4.018 GB, free: 16.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/13.46, allocations: 1.708 MB / 4.02 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/13.46, allocations: 1.366 MB / 4.021 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/13.46, allocations: 7.875 kB / 4.021 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009015/13.47, allocations: 3.48 MB / 4.025 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.005187/13.48, allocations: 10.3 MB / 4.035 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-05/13.48, allocations: 26.28 kB / 4.035 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008579/13.48, allocations: 337 kB / 4.035 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/13.48, allocations: 0.5336 MB / 4.036 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/13.48, allocations: 2.751 MB / 4.038 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006903/13.49, allocations: 0.5 MB / 4.039 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006109/13.49, allocations: 133.6 kB / 4.039 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/13.49, allocations: 2.906 kB / 4.039 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007271/13.5, allocations: 2.758 MB / 4.042 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/13.5, allocations: 19 kB / 4.042 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000878/13.5, allocations: 351.5 kB / 4.042 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/13.5, allocations: 0.5247 MB / 4.042 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009068/13.51, allocations: 7.404 MB / 4.05 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00663/13.52, allocations: 465.5 kB / 4.05 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008358/13.52, allocations: 132.1 kB / 4.05 GB, free: 7.949 MB / 0.8542 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.00101/13.52, allocations: 181.3 kB / 4.05 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002383/13.52, allocations: 0.5078 MB / 4.051 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00985/13.53, allocations: 3.763 MB / 4.055 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-05/13.53, allocations: 37.3 kB / 4.055 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/13.53, allocations: 0 / 4.055 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00597/13.54, allocations: 2.632 MB / 4.057 GB, free: 2.566 MB / 0.8542 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.02231/13.56, allocations: 8.091 MB / 4.065 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/13.56, allocations: 0 / 4.065 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/13.56, allocations: 385.2 kB / 4.065 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/13.56, allocations: 231.5 kB / 4.066 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/13.56, allocations: 39.22 kB / 4.066 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/13.56, allocations: 2.495 MB / 4.068 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/13.56, allocations: 4 kB / 4.068 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/13.58, allocations: 4.717 MB / 4.073 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004442/13.58, allocations: 0.9791 MB / 4.074 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001683/13.58, allocations: 3.094 kB / 4.074 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00494/13.59, allocations: 394.5 kB / 4.074 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/13.59, allocations: 156.7 kB / 4.074 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003399/13.59, allocations: 114.1 kB / 4.074 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005974/13.59, allocations: 2.431 MB / 4.077 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/13.59, allocations: 0 / 4.077 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.8813/14.47, allocations: 3.666 MB / 4.08 GB, free: 79.3 MB / 0.8698 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.007539/14.48, allocations: 3.429 MB / 4.084 GB, free: 78.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008622/14.49, allocations: 4.244 MB / 4.088 GB, free: 77.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/14.49, allocations: 0 / 4.088 GB, free: 77.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002802/14.49, allocations: 1.239 MB / 4.089 GB, free: 77.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01634/14.51, allocations: 2.641 MB / 4.092 GB, free: 77.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/14.53, allocations: 7.137 MB / 4.099 GB, free: 75.68 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/14.53, allocations: 3.003 MB / 4.102 GB, free: 74.88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.009139/14.54, allocations: 1.494 MB / 4.103 GB, free: 74.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/14.54, allocations: 321.8 kB / 4.103 GB, free: 74.84 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/14.54, allocations: 0 / 4.103 GB, free: 74.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.1949/14.74, allocations: 115.2 MB / 4.216 GB, free: 66.48 MB / 0.8698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)