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.8083/0.8083, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001209/0.001209, allocations: 172.9 kB / 182.2 MB, free: 9.461 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.505/1.505, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.001046/0.001046, 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.001752/0.001752, allocations: 278.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.803e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4735, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.502/1.975, allocations: 422.5 MB / 1.17 GB, free: 193.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/1.976, allocations: 98.8 kB / 1.17 GB, free: 193.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 45.92/47.89, allocations: 10.42 GB / 11.59 GB, free: 75.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/47.89, allocations: 0 / 11.59 GB, free: 75.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003022/47.89, allocations: 351.6 kB / 11.59 GB, free: 75.72 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.04769/47.94, allocations: 11.16 MB / 11.6 GB, free: 70.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/47.94, allocations: 7.625 kB / 11.6 GB, free: 70.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/47.96, allocations: 2.237 MB / 11.6 GB, free: 69.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06113/48.02, allocations: 18.67 MB / 11.62 GB, free: 67.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005862/48.02, allocations: 194.9 kB / 11.62 GB, free: 67.68 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005772/48.03, allocations: 438.6 kB / 11.62 GB, free: 67.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03051/48.06, allocations: 17.89 MB / 11.64 GB, free: 67.65 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03042/48.09, allocations: 12.21 MB / 11.65 GB, free: 67.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003826/48.09, allocations: 10.22 kB / 11.65 GB, free: 67.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003174/48.09, allocations: 13.2 kB / 11.65 GB, free: 67.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/48.09, allocations: 155.3 kB / 11.65 GB, free: 67.02 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.1173/48.21, allocations: 69.19 MB / 11.72 GB, free: 34.57 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/48.22, allocations: 10.23 MB / 11.73 GB, free: 34.36 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01089/48.23, allocations: 8.775 MB / 11.74 GB, free: 30.44 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.06428/48.3, allocations: 29.39 MB / 11.76 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01232/48.31, allocations: 7.988 MB / 11.77 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04403/48.35, allocations: 15.12 MB / 11.79 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 4.685e-05/48.35, allocations: 0 / 11.79 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=395): time 1.084/49.44, allocations: 37.27 MB / 11.82 GB, free: 94.43 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/49.44, allocations: 97.55 kB / 11.82 GB, free: 94.36 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02768/49.46, allocations: 11.25 MB / 11.83 GB, free: 93.76 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.003511/49.47, allocations: 39.31 kB / 11.83 GB, free: 93.73 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.009238/49.48, allocations: 6 MB / 11.84 GB, free: 93.53 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00423/49.48, allocations: 1.287 MB / 11.84 GB, free: 93.52 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003171/49.48, allocations: 2.312 kB / 11.84 GB, free: 93.52 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006853/49.49, allocations: 0.5389 MB / 11.84 GB, free: 93.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01224/49.5, allocations: 6.915 MB / 11.85 GB, free: 93.19 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01503/49.51, allocations: 9.328 MB / 11.86 GB, free: 90.33 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01772/49.53, allocations: 7.963 MB / 11.87 GB, free: 90.21 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/49.53, allocations: 13.97 kB / 11.87 GB, free: 90.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.06148/49.59, allocations: 22.96 MB / 11.89 GB, free: 89.32 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.006762/49.6, allocations: 29.52 MB / 11.92 GB, free: 58.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002396/49.6, allocations: 46.81 kB / 11.92 GB, free: 58.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7982/50.4, allocations: 167.2 MB / 12.08 GB, free: 57.21 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008043/50.41, allocations: 1.292 MB / 12.08 GB, free: 57.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04583/50.45, allocations: 25.49 MB / 12.11 GB, free: 47.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01849/50.47, allocations: 0.8176 MB / 12.11 GB, free: 46.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004187/50.47, allocations: 0.7328 MB / 12.11 GB, free: 46.44 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/50.47, allocations: 4 kB / 12.11 GB, free: 46.44 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06352/50.54, allocations: 20.88 MB / 12.13 GB, free: 36.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003672/50.54, allocations: 48 kB / 12.13 GB, free: 36.46 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711/52.25, allocations: 167.2 MB / 12.29 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006523/52.26, allocations: 1.281 MB / 12.29 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05372/52.31, allocations: 28.33 MB / 12.32 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01758/52.33, allocations: 0.7971 MB / 12.32 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004303/52.33, allocations: 0.6878 MB / 12.32 GB, free: 101.3 MB / 0.9948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 (560): * Single equations (assignments): 548 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.006293/52.34, allocations: 281.6 kB / 12.32 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005873/52.34, allocations: 1.147 MB / 12.32 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04647/52.39, allocations: 17.33 MB / 12.34 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.069e-05/52.39, allocations: 52.61 kB / 12.34 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/52.39, allocations: 0 / 12.34 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02321/52.41, allocations: 12.53 MB / 12.35 GB, free: 99.99 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.1369/52.55, allocations: 45.46 MB / 12.4 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-05/52.55, allocations: 5.438 kB / 12.4 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004339/52.55, allocations: 0.6922 MB / 12.4 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.214/52.77, allocations: 47.69 MB / 12.44 GB, free: 82.62 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001921/52.77, allocations: 72.11 kB / 12.44 GB, free: 82.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02315/52.79, allocations: 13.18 MB / 12.46 GB, free: 73.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/52.79, allocations: 0 / 12.46 GB, free: 73.99 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1517/52.95, allocations: 41.09 MB / 12.5 GB, free: 51.73 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009938/52.96, allocations: 2.571 MB / 12.5 GB, free: 50.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005172/52.96, allocations: 4 kB / 12.5 GB, free: 50.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01297/52.97, allocations: 0.6215 MB / 12.5 GB, free: 49.77 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001669/52.98, allocations: 302 kB / 12.5 GB, free: 49.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001359/52.98, allocations: 197.7 kB / 12.5 GB, free: 49.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01745/52.99, allocations: 8.436 MB / 12.51 GB, free: 44.36 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.72e-07/52.99, allocations: 0 / 12.51 GB, free: 44.36 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.04359/53.04, allocations: 5.749 MB / 12.51 GB, free: 39.02 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (324): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009073/53.05, allocations: 4.75 MB / 12.52 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.05897/53.11, allocations: 28.68 MB / 12.55 GB, free: 16.27 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/53.11, allocations: 4 kB / 12.55 GB, free: 16.27 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.9039/54.01, allocations: 7.199 MB / 12.55 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0363/54.05, allocations: 6.038 MB / 12.56 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04964/54.1, allocations: 18.47 MB / 12.58 GB, free: 97.05 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01457/54.11, allocations: 6.829 MB / 12.58 GB, free: 96.09 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0347/54.15, allocations: 5.805 MB / 12.59 GB, free: 95.96 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003294/54.15, allocations: 0.6043 MB / 12.59 GB, free: 95.96 MB / 0.9948 GB Notification: Performance of SimCode: time 1.322e-06/54.15, allocations: 0 / 12.59 GB, free: 95.96 MB / 0.9948 GB Notification: Performance of Templates: time 2.073/56.22, allocations: 367.7 MB / 12.95 GB, free: 140.5 MB / 1.042 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)