Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.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.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7698/0.7698, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001123/0.001123, allocations: 181.8 kB / 187.3 MB, free: 11.89 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.482/1.482, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0008951/0.0008952, allocations: 95.36 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 278.5 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.395e-05, allocations: 0 / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.422, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8721/1.294, allocations: 423.2 MB / 1.178 GB, free: 216 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.294, allocations: 93.45 kB / 1.178 GB, free: 172 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 46.67/47.97, allocations: 10.46 GB / 11.64 GB, free: 72.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.905e-06/47.97, allocations: 1.031 kB / 11.64 GB, free: 72.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003829/47.97, allocations: 350.2 kB / 11.64 GB, free: 72.27 MB / 0.9636 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.05757/48.03, allocations: 11.16 MB / 11.65 GB, free: 67.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/48.03, allocations: 9.188 kB / 11.65 GB, free: 67.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/48.04, allocations: 2.236 MB / 11.65 GB, free: 66.52 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06948/48.11, allocations: 18.66 MB / 11.67 GB, free: 64.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009604/48.11, allocations: 0.5383 MB / 11.67 GB, free: 64.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004472/48.12, allocations: 0.7127 MB / 11.67 GB, free: 64.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03581/48.16, allocations: 13.08 MB / 11.69 GB, free: 63.72 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/48.16, allocations: 5.75 kB / 11.69 GB, free: 63.72 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002399/48.16, allocations: 245.4 kB / 11.69 GB, free: 63.72 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/48.16, allocations: 159 kB / 11.69 GB, free: 63.71 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03553/48.19, allocations: 17.54 MB / 11.7 GB, free: 63.66 MB / 0.9636 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.1286/48.32, allocations: 70.11 MB / 11.77 GB, free: 31.33 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01517/48.34, allocations: 9.442 MB / 11.78 GB, free: 31.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/48.35, allocations: 8.44 MB / 11.79 GB, free: 31.08 MB / 0.9636 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 evalFunc (simulation): time 0.06819/48.42, allocations: 29.52 MB / 11.82 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01578/48.43, allocations: 8.101 MB / 11.83 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04434/48.48, allocations: 15.23 MB / 11.84 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 3.786e-05/48.48, allocations: 0 / 11.84 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=581): time 1.322/49.8, allocations: 77.23 MB / 11.92 GB, free: 90.52 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/49.8, allocations: 117.3 kB / 11.92 GB, free: 90.45 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03298/49.83, allocations: 11.98 MB / 11.93 GB, free: 89.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.003955/49.84, allocations: 185 kB / 11.93 GB, free: 89.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.009458/49.85, allocations: 6.009 MB / 11.94 GB, free: 88.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.005286/49.85, allocations: 1.951 MB / 11.94 GB, free: 87.81 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002796/49.86, allocations: 148.6 kB / 11.94 GB, free: 87.81 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006102/49.86, allocations: 0.5978 MB / 11.94 GB, free: 87.49 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01441/49.87, allocations: 7.8 MB / 11.95 GB, free: 87.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0197/49.89, allocations: 10.38 MB / 11.96 GB, free: 84.61 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/49.91, allocations: 8.705 MB / 11.96 GB, free: 84.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001569/49.91, allocations: 15.94 kB / 11.96 GB, free: 84.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0674/49.98, allocations: 26.13 MB / 11.99 GB, free: 83.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.007103/49.98, allocations: 29.64 MB / 12.02 GB, free: 52.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002427/49.98, allocations: 51.59 kB / 12.02 GB, free: 52.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7819/50.76, allocations: 170.4 MB / 12.18 GB, free: 35.46 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01105/50.78, allocations: 1.771 MB / 12.19 GB, free: 33.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04326/50.82, allocations: 26.57 MB / 12.21 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02543/50.84, allocations: 1.284 MB / 12.21 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004908/50.85, allocations: 0.8063 MB / 12.21 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/50.85, allocations: 4 kB / 12.21 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05619/50.91, allocations: 25.17 MB / 12.24 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/50.91, allocations: 44 kB / 12.24 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862/52.77, allocations: 170.6 MB / 12.41 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009005/52.78, allocations: 1.758 MB / 12.41 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05756/52.83, allocations: 30.92 MB / 12.44 GB, free: 99.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02211/52.86, allocations: 1.26 MB / 12.44 GB, free: 99.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004695/52.86, allocations: 0.7531 MB / 12.44 GB, free: 99.37 MB / 0.9948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * 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 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.006362/52.87, allocations: 0.5233 MB / 12.44 GB, free: 99.26 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00616/52.87, allocations: 1.211 MB / 12.44 GB, free: 99.16 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06868/52.94, allocations: 23.36 MB / 12.46 GB, free: 98.24 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001494/52.94, allocations: 70.59 kB / 12.46 GB, free: 98.24 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.228e-05/52.94, allocations: 0 / 12.46 GB, free: 98.24 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04408/52.99, allocations: 17.82 MB / 12.48 GB, free: 97.59 MB / 0.9948 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.169/53.16, allocations: 54.19 MB / 12.53 GB, free: 69.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001384/53.16, allocations: 4 kB / 12.53 GB, free: 69.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007698/53.16, allocations: 1.259 MB / 12.54 GB, free: 68.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.208/53.37, allocations: 48.88 MB / 12.58 GB, free: 21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00223/53.37, allocations: 201.8 kB / 12.58 GB, free: 20.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/53.4, allocations: 14.71 MB / 12.6 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/53.4, allocations: 11.56 kB / 12.6 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.043/54.44, allocations: 32.84 MB / 12.63 GB, free: 115.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01241/54.45, allocations: 2.964 MB / 12.63 GB, free: 115.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005879/54.46, allocations: 134.4 kB / 12.63 GB, free: 115.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01619/54.47, allocations: 1 MB / 12.63 GB, free: 115.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002617/54.48, allocations: 467.5 kB / 12.63 GB, free: 115.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001299/54.48, allocations: 288.8 kB / 12.63 GB, free: 115.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.021/54.5, allocations: 9.129 MB / 12.64 GB, free: 115.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.332e-06/54.5, allocations: 0 / 12.64 GB, free: 115.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.04917/54.55, allocations: 6.607 MB / 12.65 GB, free: 115.1 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (491): * Single equations (assignments): 469 * 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 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01051/54.56, allocations: 5.051 MB / 12.66 GB, free: 113.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0746/54.63, allocations: 33.52 MB / 12.69 GB, free: 112.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/54.63, allocations: 2.969 kB / 12.69 GB, free: 112.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.02045/54.65, allocations: 9.233 MB / 12.7 GB, free: 112.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0364/54.69, allocations: 6.203 MB / 12.7 GB, free: 112.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05017/54.74, allocations: 21.42 MB / 12.72 GB, free: 108.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/54.75, allocations: 7.22 MB / 12.73 GB, free: 107.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02899/54.78, allocations: 6.421 MB / 12.74 GB, free: 107 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002959/54.78, allocations: 0.7232 MB / 12.74 GB, free: 106.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.183e-06/54.78, allocations: 0 / 12.74 GB, free: 106.9 MB / 1.01 GB Notification: Performance of Templates: time 2.276/57.06, allocations: 436 MB / 13.16 GB, free: 116.3 MB / 1.026 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)