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.831/0.831, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 184 kB / 187.3 MB, free: 11.88 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.449/1.449, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.001174/0.001174, allocations: 93.03 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001888, allocations: 268.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.041e-05, allocations: 8 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5059, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.559, allocations: 381.3 MB / 1.137 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/1.559, allocations: 93.27 kB / 1.137 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 11.85/13.41, allocations: 2.787 GB / 3.924 GB, free: 40.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.136e-06/13.41, allocations: 1.859 kB / 3.924 GB, free: 40.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000964/13.41, allocations: 170 kB / 3.924 GB, free: 40.32 MB / 0.8386 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.01899/13.43, allocations: 5.905 MB / 3.93 GB, free: 37.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/13.43, allocations: 9.281 kB / 3.93 GB, free: 37.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/13.44, allocations: 0.7804 MB / 3.931 GB, free: 36.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1246/13.56, allocations: 60.63 MB / 3.99 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/13.56, allocations: 313.5 kB / 3.99 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/13.56, allocations: 430.4 kB / 3.991 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008985/13.57, allocations: 4.186 MB / 3.995 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/13.57, allocations: 18.22 kB / 3.995 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004671/13.57, allocations: 179.6 kB / 3.995 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/13.57, allocations: 118.6 kB / 3.995 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/13.58, allocations: 2.789 MB / 3.998 GB, free: 32.23 MB / 0.8386 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.0365/13.62, allocations: 24.05 MB / 4.021 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003796/13.62, allocations: 2.901 MB / 4.024 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/13.62, allocations: 1.054 MB / 4.025 GB, free: 16.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003603/13.63, allocations: 3.939 MB / 4.029 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.77e-05/13.63, allocations: 70.06 kB / 4.029 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 8.797e-06/13.63, allocations: 0 / 4.029 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.008283/13.63, allocations: 2.568 MB / 4.032 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/13.63, allocations: 81.88 kB / 4.032 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009462/13.64, allocations: 3.586 MB / 4.035 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0007908/13.64, allocations: 78.45 kB / 4.035 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002346/13.65, allocations: 2.781 MB / 4.038 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/13.65, allocations: 0.7773 MB / 4.039 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/13.65, allocations: 50.53 kB / 4.039 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001472/13.65, allocations: 409.1 kB / 4.039 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/13.65, allocations: 0.7633 MB / 4.04 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/13.65, allocations: 1.77 MB / 4.042 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/13.65, allocations: 1.067 MB / 4.043 GB, free: 6.406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/13.65, allocations: 5.688 kB / 4.043 GB, free: 6.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006751/13.66, allocations: 3.3 MB / 4.046 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003815/13.66, allocations: 10.34 MB / 4.056 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.423e-05/13.66, allocations: 24.97 kB / 4.056 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/13.66, allocations: 398.5 kB / 4.057 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/13.67, allocations: 0.5247 MB / 4.057 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/13.67, allocations: 2.672 MB / 4.06 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006608/13.68, allocations: 0.5682 MB / 4.06 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006735/13.68, allocations: 129 kB / 4.06 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/13.68, allocations: 4.625 kB / 4.06 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005213/13.68, allocations: 2.734 MB / 4.063 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/13.68, allocations: 23.33 kB / 4.063 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009338/13.68, allocations: 387.1 kB / 4.063 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/13.68, allocations: 0.5211 MB / 4.064 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008876/13.69, allocations: 7.695 MB / 4.071 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006703/13.7, allocations: 0.5215 MB / 4.072 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006746/13.7, allocations: 121.5 kB / 4.072 GB, free: 15.13 MB / 0.8698 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.0008779/13.7, allocations: 286.8 kB / 4.072 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/13.7, allocations: 0.5056 MB / 4.073 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006944/13.71, allocations: 3.729 MB / 4.076 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.574e-05/13.71, allocations: 35.58 kB / 4.076 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/13.71, allocations: 0 / 4.076 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003899/13.71, allocations: 2.539 MB / 4.079 GB, free: 11.42 MB / 0.8698 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.01969/13.73, allocations: 8.506 MB / 4.087 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/13.73, allocations: 0 / 4.087 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/13.74, allocations: 393.1 kB / 4.088 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007595/13.74, allocations: 299.7 kB / 4.088 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/13.74, allocations: 63.41 kB / 4.088 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/13.74, allocations: 2.489 MB / 4.09 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/13.74, allocations: 7.953 kB / 4.09 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8956/14.63, allocations: 4.646 MB / 4.095 GB, free: 69.58 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004686/14.64, allocations: 0.9879 MB / 4.096 GB, free: 69.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002115/14.64, allocations: 45.45 kB / 4.096 GB, free: 69.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006007/14.65, allocations: 444.5 kB / 4.096 GB, free: 69.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/14.65, allocations: 156.6 kB / 4.097 GB, free: 69.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004249/14.65, allocations: 114.3 kB / 4.097 GB, free: 69.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.007994/14.66, allocations: 2.73 MB / 4.099 GB, free: 69.19 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.31e-07/14.66, allocations: 2.156 kB / 4.099 GB, free: 69.19 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01973/14.68, allocations: 3.594 MB / 4.103 GB, free: 69.01 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.00872/14.68, allocations: 3.429 MB / 4.106 GB, free: 67.87 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009039/14.69, allocations: 4.489 MB / 4.111 GB, free: 67.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/14.69, allocations: 5.375 kB / 4.111 GB, free: 67.29 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/14.7, allocations: 1.29 MB / 4.112 GB, free: 67.26 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01724/14.71, allocations: 2.743 MB / 4.114 GB, free: 67.24 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/14.73, allocations: 7.279 MB / 4.122 GB, free: 65.31 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/14.73, allocations: 2.999 MB / 4.125 GB, free: 64.51 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008776/14.74, allocations: 1.515 MB / 4.126 GB, free: 64.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/14.74, allocations: 322.4 kB / 4.126 GB, free: 64.46 MB / 0.8698 GB Notification: Performance of SimCode: time 1.403e-06/14.74, allocations: 0 / 4.126 GB, free: 64.46 MB / 0.8698 GB Notification: Performance of Templates: time 0.2253/14.97, allocations: 133.1 MB / 4.256 GB, free: 55.12 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)