Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.709/1.709, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007822/0.0007822, allocations: 89.89 kB / 0.7808 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004126, allocations: 13.03 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7189/0.7193, allocations: 120.3 MB / 1.026 GB, free: 56.42 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.746, allocations: 413.6 MB / 1.43 GB, free: 160 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.747, allocations: 101.2 kB / 1.43 GB, free: 160 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.69/12.44, allocations: 2.754 GB / 4.185 GB, free: 56.66 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.577e-06/12.44, allocations: 3.344 kB / 4.185 GB, free: 56.66 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001258/12.44, allocations: 166.4 kB / 4.185 GB, free: 56.64 MB / 1.104 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.02605/12.47, allocations: 7.076 MB / 4.192 GB, free: 53.36 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/12.47, allocations: 8.312 kB / 4.192 GB, free: 53.36 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/12.47, allocations: 0.7818 MB / 4.192 GB, free: 52.99 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1236/12.59, allocations: 57.48 MB / 4.249 GB, free: 49.71 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006048/12.59, allocations: 323 kB / 4.249 GB, free: 49.7 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/12.6, allocations: 428 kB / 4.249 GB, free: 49.69 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/12.61, allocations: 4.307 MB / 4.254 GB, free: 48.91 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/12.61, allocations: 19.25 kB / 4.254 GB, free: 48.9 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005368/12.61, allocations: 173.6 kB / 4.254 GB, free: 48.9 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/12.61, allocations: 119.6 kB / 4.254 GB, free: 48.9 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006392/12.62, allocations: 2.9 MB / 4.257 GB, free: 48.87 MB / 1.104 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.03638/12.65, allocations: 23.99 MB / 4.28 GB, free: 34.64 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/12.66, allocations: 2.955 MB / 4.283 GB, free: 33.45 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/12.66, allocations: 1.084 MB / 4.284 GB, free: 33.43 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002753/12.66, allocations: 3.935 MB / 4.288 GB, free: 29.02 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/12.66, allocations: 65.72 kB / 4.288 GB, free: 28.98 MB / 1.104 GB Notification: Performance of pre-optimization done (n=225): time 5.1e-06/12.66, allocations: 1.156 kB / 4.288 GB, free: 28.98 MB / 1.104 GB Notification: Performance of matching and sorting (n=225): time 0.01127/12.67, allocations: 4.417 MB / 4.292 GB, free: 28.2 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/12.67, allocations: 76.91 kB / 4.292 GB, free: 28.13 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00962/12.68, allocations: 4.131 MB / 4.296 GB, free: 27.79 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.000995/12.68, allocations: 81.27 kB / 4.296 GB, free: 27.76 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.002789/12.69, allocations: 2.769 MB / 4.299 GB, free: 26.89 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/12.69, allocations: 0.7804 MB / 4.3 GB, free: 26.38 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/12.69, allocations: 54.59 kB / 4.3 GB, free: 26.38 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001459/12.69, allocations: 407.8 kB / 4.3 GB, free: 26.08 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/12.69, allocations: 0.8012 MB / 4.301 GB, free: 26.07 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/12.69, allocations: 1.823 MB / 4.303 GB, free: 24.91 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/12.7, allocations: 2.556 MB / 4.305 GB, free: 24.06 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/12.7, allocations: 5.156 kB / 4.305 GB, free: 24.06 MB / 1.104 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008382/12.7, allocations: 3.502 MB / 4.309 GB, free: 23.53 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005495/12.7, allocations: 0.7409 MB / 4.31 GB, free: 22.64 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-05/12.7, allocations: 25.62 kB / 4.31 GB, free: 22.64 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/12.71, allocations: 0.5549 MB / 4.31 GB, free: 22.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/12.71, allocations: 0.5257 MB / 4.311 GB, free: 22.57 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/12.71, allocations: 2.693 MB / 4.313 GB, free: 20.46 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006434/12.72, allocations: 0.5584 MB / 4.314 GB, free: 20.32 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004987/12.72, allocations: 138.4 kB / 4.314 GB, free: 20.32 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/12.72, allocations: 3.844 kB / 4.314 GB, free: 20.32 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006125/12.72, allocations: 2.804 MB / 4.317 GB, free: 20.07 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-05/12.72, allocations: 30.77 kB / 4.317 GB, free: 20.06 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009826/12.73, allocations: 375 kB / 4.317 GB, free: 20.02 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/12.73, allocations: 0.5256 MB / 4.318 GB, free: 19.99 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008469/12.74, allocations: 7.721 MB / 4.325 GB, free: 14.28 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00849/12.74, allocations: 0.5121 MB / 4.326 GB, free: 14.15 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/12.75, allocations: 129.7 kB / 4.326 GB, free: 14.15 MB / 1.104 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 () * Number of clocked 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.005411/12.75, allocations: 0.9922 MB / 4.327 GB, free: 13.91 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002589/12.75, allocations: 0.507 MB / 4.327 GB, free: 13.64 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009138/12.76, allocations: 3.787 MB / 4.331 GB, free: 13.17 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-05/12.76, allocations: 37.34 kB / 4.331 GB, free: 13.17 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/12.76, allocations: 0 / 4.331 GB, free: 13.17 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00449/12.77, allocations: 2.61 MB / 4.333 GB, free: 12.91 MB / 1.104 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.02179/12.79, allocations: 8.541 MB / 4.342 GB, free: 27.27 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/12.79, allocations: 2.031 kB / 4.342 GB, free: 27.27 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/12.79, allocations: 390 kB / 4.342 GB, free: 27.25 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006849/12.79, allocations: 307.4 kB / 4.342 GB, free: 27.19 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/12.79, allocations: 65.25 kB / 4.343 GB, free: 27.19 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/12.79, allocations: 2.497 MB / 4.345 GB, free: 25.09 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/12.79, allocations: 0 / 4.345 GB, free: 25.09 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00871/12.8, allocations: 4.666 MB / 4.35 GB, free: 24.36 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004226/12.81, allocations: 0.9664 MB / 4.35 GB, free: 23.96 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/12.81, allocations: 49 kB / 4.351 GB, free: 23.96 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005353/12.81, allocations: 446.2 kB / 4.351 GB, free: 23.89 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/12.81, allocations: 152.5 kB / 4.351 GB, free: 23.88 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004365/12.81, allocations: 120 kB / 4.351 GB, free: 23.88 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.007694/12.82, allocations: 2.717 MB / 4.354 GB, free: 23.7 MB / 1.12 GB Notification: Performance of sort global known variables: time 3e-07/12.82, allocations: 0.9844 kB / 4.354 GB, free: 23.7 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01915/12.84, allocations: 3.441 MB / 4.357 GB, free: 23.2 MB / 1.12 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 () * Number of clocked 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.009111/12.85, allocations: 3.25 MB / 4.36 GB, free: 21.52 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01057/12.86, allocations: 4.437 MB / 4.365 GB, free: 20.77 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/12.86, allocations: 3.688 kB / 4.365 GB, free: 20.77 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.002886/12.86, allocations: 1.31 MB / 4.366 GB, free: 20.71 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01684/12.88, allocations: 2.713 MB / 4.369 GB, free: 20.53 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/12.9, allocations: 11.17 MB / 4.38 GB, free: 14.92 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/12.9, allocations: 2.874 MB / 4.382 GB, free: 14.05 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.00583/12.91, allocations: 1.194 MB / 4.384 GB, free: 13.79 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/12.91, allocations: 416.9 kB / 4.384 GB, free: 13.78 MB / 1.12 GB Notification: Performance of SimCode: time 8.21e-07/12.91, allocations: 3.062 kB / 4.384 GB, free: 13.78 MB / 1.12 GB Notification: Performance of Templates: time 1.002/13.91, allocations: 117.9 MB / 4.499 GB, free: 101.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)