Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 193 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.6367 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009753/0.0009747, allocations: 88.02 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3145, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.728/2.043, allocations: 466.5 MB / 1.444 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/2.043, allocations: 105.6 kB / 1.444 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 45.57/47.62, allocations: 10.3 GB / 11.74 GB, free: 90.98 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.046e-06/47.62, allocations: 2.781 kB / 11.74 GB, free: 90.98 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003629/47.62, allocations: 349 kB / 11.74 GB, free: 90.93 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.08455/47.7, allocations: 17.53 MB / 11.76 GB, free: 84.58 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/47.7, allocations: 11.56 kB / 11.76 GB, free: 84.58 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/47.72, allocations: 2.217 MB / 11.76 GB, free: 83.79 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07049/47.79, allocations: 18.81 MB / 11.78 GB, free: 81.69 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/47.79, allocations: 0.5331 MB / 11.78 GB, free: 81.68 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005098/47.8, allocations: 0.7156 MB / 11.78 GB, free: 81.68 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04425/47.84, allocations: 13.33 MB / 11.79 GB, free: 81.07 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005596/47.84, allocations: 8.812 kB / 11.79 GB, free: 81.07 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004929/47.85, allocations: 247.3 kB / 11.79 GB, free: 81.07 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/47.85, allocations: 148.3 kB / 11.79 GB, free: 81.07 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04356/47.89, allocations: 17.98 MB / 11.81 GB, free: 81.02 MB / 1.214 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.1476/48.04, allocations: 70.09 MB / 11.88 GB, free: 49.06 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/48.06, allocations: 9.771 MB / 11.89 GB, free: 48.87 MB / 1.214 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 evalFunc (simulation): time 0.07368/48.13, allocations: 29.24 MB / 11.92 GB, free: 40.79 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01592/48.15, allocations: 8.299 MB / 11.93 GB, free: 40.66 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04627/48.2, allocations: 15.07 MB / 11.94 GB, free: 39.8 MB / 1.214 GB Notification: Performance of pre-optimization done (n=394): time 6.823e-05/48.2, allocations: 0 / 11.94 GB, free: 39.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=583): time 1.722/49.92, allocations: 117.7 MB / 12.06 GB, free: 97.17 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/49.92, allocations: 115.8 kB / 12.06 GB, free: 97.1 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03752/49.96, allocations: 11.97 MB / 12.07 GB, free: 96.45 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004606/49.96, allocations: 184.1 kB / 12.07 GB, free: 96.41 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0111/49.97, allocations: 6.016 MB / 12.07 GB, free: 95.52 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005426/49.98, allocations: 1.959 MB / 12.08 GB, free: 94.52 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003321/49.98, allocations: 146.2 kB / 12.08 GB, free: 94.52 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006488/49.98, allocations: 0.5963 MB / 12.08 GB, free: 94.21 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01824/50, allocations: 8.527 MB / 12.08 GB, free: 94.19 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02244/50.02, allocations: 11.11 MB / 12.1 GB, free: 91.33 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02257/50.04, allocations: 9.401 MB / 12.1 GB, free: 91.18 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000177/50.04, allocations: 15.59 kB / 12.1 GB, free: 91.18 MB / 1.214 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.08804/50.13, allocations: 27.62 MB / 12.13 GB, free: 90.16 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.008567/50.14, allocations: 29.65 MB / 12.16 GB, free: 59.47 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002765/50.14, allocations: 45.62 kB / 12.16 GB, free: 59.47 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7204/50.86, allocations: 170.6 MB / 12.33 GB, free: 57.85 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01314/50.87, allocations: 1.75 MB / 12.33 GB, free: 57.83 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05066/50.93, allocations: 26.75 MB / 12.36 GB, free: 52.54 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02454/50.95, allocations: 1.279 MB / 12.36 GB, free: 52.43 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005223/50.96, allocations: 0.7962 MB / 12.36 GB, free: 52.43 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/50.96, allocations: 3.562 kB / 12.36 GB, free: 52.43 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.073/51.03, allocations: 26.64 MB / 12.38 GB, free: 47.38 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003572/51.03, allocations: 50.45 kB / 12.38 GB, free: 47.34 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004/53.03, allocations: 170.9 MB / 12.55 GB, free: 139.1 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/53.04, allocations: 1.744 MB / 12.55 GB, free: 139.1 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06326/53.11, allocations: 31.77 MB / 12.58 GB, free: 135.1 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02386/53.13, allocations: 1.253 MB / 12.58 GB, free: 135.1 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005367/53.14, allocations: 0.7555 MB / 12.59 GB, free: 135.1 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 644 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01393/53.15, allocations: 3.098 MB / 12.59 GB, free: 134.9 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005769/53.16, allocations: 1.21 MB / 12.59 GB, free: 134.8 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06933/53.23, allocations: 24.87 MB / 12.61 GB, free: 134.2 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001912/53.23, allocations: 76.05 kB / 12.61 GB, free: 134.2 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/53.23, allocations: 0 / 12.61 GB, free: 134.2 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04864/53.27, allocations: 19.33 MB / 12.63 GB, free: 133.7 MB / 1.26 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.1425/53.42, allocations: 45.85 MB / 12.68 GB, free: 127.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001524/53.42, allocations: 6.688 kB / 12.68 GB, free: 127.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01078/53.43, allocations: 1.249 MB / 12.68 GB, free: 127.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3234/53.75, allocations: 48.98 MB / 12.73 GB, free: 127.1 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002857/53.75, allocations: 199.8 kB / 12.73 GB, free: 127.1 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0374/53.79, allocations: 14.86 MB / 12.74 GB, free: 121.9 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/53.79, allocations: 14.05 kB / 12.74 GB, free: 121.9 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08223/53.87, allocations: 31.57 MB / 12.77 GB, free: 117.7 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01445/53.89, allocations: 2.935 MB / 12.77 GB, free: 116.9 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00773/53.9, allocations: 134.1 kB / 12.77 GB, free: 116.9 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01737/53.91, allocations: 0.992 MB / 12.78 GB, free: 116.8 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002959/53.92, allocations: 465.2 kB / 12.78 GB, free: 116.8 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002379/53.92, allocations: 285 kB / 12.78 GB, free: 116.8 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02489/53.94, allocations: 9.161 MB / 12.79 GB, free: 116.5 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.213e-06/53.94, allocations: 3.812 kB / 12.79 GB, free: 116.5 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.05673/54, allocations: 6.581 MB / 12.79 GB, free: 116.5 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (489): * Single equations (assignments): 467 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/54.01, allocations: 5.057 MB / 12.8 GB, free: 114.2 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.0847/54.1, allocations: 35.2 MB / 12.83 GB, free: 98.3 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/54.1, allocations: 0 / 12.83 GB, free: 98.3 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.02236/54.12, allocations: 9.853 MB / 12.84 GB, free: 93.38 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03491/54.15, allocations: 6.258 MB / 12.85 GB, free: 89.91 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06371/54.22, allocations: 30.06 MB / 12.88 GB, free: 66.08 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01275/54.23, allocations: 7.158 MB / 12.88 GB, free: 61.34 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.0211/54.25, allocations: 3.754 MB / 12.89 GB, free: 58.64 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005369/54.26, allocations: 0.9902 MB / 12.89 GB, free: 57.78 MB / 1.26 GB Notification: Performance of SimCode: time 7.31e-07/54.26, allocations: 0 / 12.89 GB, free: 57.78 MB / 1.26 GB Notification: Performance of Templates: time 1.634/55.89, allocations: 408 MB / 13.29 GB, free: 62.29 MB / 1.26 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)