Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7922/0.7922, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.0009897/0.0009895, allocations: 188.2 kB / 182.2 MB, free: 9.434 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.475/1.475, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.001034/0.001034, allocations: 84.11 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 272.6 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.147e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4983, allocations: 82.77 MB / 0.7574 GB, free: 31.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.487/1.985, allocations: 421.9 MB / 1.169 GB, free: 264.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.986, allocations: 100.6 kB / 1.169 GB, free: 264.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 45.83/47.81, allocations: 10.48 GB / 11.65 GB, free: 60.64 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.248e-06/47.81, allocations: 1.453 kB / 11.65 GB, free: 60.64 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.004511/47.82, allocations: 390 kB / 11.65 GB, free: 60.57 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05127/47.87, allocations: 12.12 MB / 11.66 GB, free: 55.21 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/47.87, allocations: 12.27 kB / 11.66 GB, free: 55.21 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/47.89, allocations: 2.191 MB / 11.66 GB, free: 54.35 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06976/47.95, allocations: 20.13 MB / 11.68 GB, free: 52.08 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007233/47.96, allocations: 232 kB / 11.68 GB, free: 52.08 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005072/47.96, allocations: 492.6 kB / 11.68 GB, free: 52.08 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0343/48, allocations: 18.34 MB / 11.7 GB, free: 52.05 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/48.04, allocations: 12.97 MB / 11.71 GB, free: 51.29 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007579/48.04, allocations: 14.88 kB / 11.71 GB, free: 51.29 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00578/48.04, allocations: 12.72 kB / 11.71 GB, free: 51.29 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003636/48.04, allocations: 191 kB / 11.71 GB, free: 51.29 MB / 0.9792 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.144/48.19, allocations: 73.19 MB / 11.78 GB, free: 17.15 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/48.2, allocations: 10.28 MB / 11.79 GB, free: 17 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/48.22, allocations: 8.813 MB / 11.8 GB, free: 16.92 MB / 0.9792 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.07139/48.29, allocations: 30.18 MB / 11.83 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01387/48.3, allocations: 7.972 MB / 11.84 GB, free: 6.438 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04659/48.35, allocations: 14.85 MB / 11.85 GB, free: 5.105 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=427): time 6.219e-05/48.35, allocations: 0 / 11.85 GB, free: 5.105 MB / 0.9792 GB Notification: Performance of matching and sorting (n=429): time 0.1206/48.47, allocations: 37.32 MB / 11.89 GB, free: 6.949 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/48.47, allocations: 102.8 kB / 11.89 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0372/48.51, allocations: 11.97 MB / 11.9 GB, free: 12.51 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003909/48.51, allocations: 45.7 kB / 11.9 GB, free: 12.46 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01212/48.52, allocations: 6.598 MB / 11.91 GB, free: 6.414 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.005068/48.53, allocations: 1.416 MB / 11.91 GB, free: 5.105 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003832/48.53, allocations: 0 / 11.91 GB, free: 5.105 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001037/48.53, allocations: 0.56 MB / 11.91 GB, free: 4.617 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.9753/49.51, allocations: 6.934 MB / 11.92 GB, free: 95.39 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0149/49.52, allocations: 9.552 MB / 11.93 GB, free: 92.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/49.54, allocations: 8.068 MB / 11.93 GB, free: 92.19 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/49.54, allocations: 16.12 kB / 11.93 GB, free: 92.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.05794/49.6, allocations: 22.82 MB / 11.96 GB, free: 91.93 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.007479/49.6, allocations: 34.63 MB / 11.99 GB, free: 55.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002509/49.6, allocations: 53.03 kB / 11.99 GB, free: 55.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6346/50.24, allocations: 143.5 MB / 12.13 GB, free: 54.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009477/50.25, allocations: 1.49 MB / 12.13 GB, free: 54.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04151/50.29, allocations: 23.29 MB / 12.16 GB, free: 50.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02184/50.31, allocations: 0.882 MB / 12.16 GB, free: 50.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004631/50.32, allocations: 0.7447 MB / 12.16 GB, free: 50.78 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/50.32, allocations: 5 kB / 12.16 GB, free: 50.78 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.552/50.87, allocations: 103 MB / 12.26 GB, free: 5.012 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003183/50.87, allocations: 56.2 kB / 12.26 GB, free: 4.961 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556/52.43, allocations: 143.6 MB / 12.4 GB, free: 122.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007903/52.43, allocations: 1.479 MB / 12.4 GB, free: 122.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05088/52.48, allocations: 25.93 MB / 12.42 GB, free: 119.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02033/52.5, allocations: 0.8591 MB / 12.43 GB, free: 119.8 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004467/52.51, allocations: 0.7 MB / 12.43 GB, free: 119.8 MB / 1.042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.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: 237 * 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 (661): * Single equations (assignments): 649 * 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 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006901/52.52, allocations: 299.2 kB / 12.43 GB, free: 119.7 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006511/52.52, allocations: 1.23 MB / 12.43 GB, free: 119.7 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04424/52.57, allocations: 17.07 MB / 12.44 GB, free: 119 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.328e-05/52.57, allocations: 57.38 kB / 12.44 GB, free: 119 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/52.57, allocations: 0 / 12.44 GB, free: 119 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02015/52.59, allocations: 12.21 MB / 12.46 GB, free: 118.5 MB / 1.042 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.0643/52.65, allocations: 33.56 MB / 12.49 GB, free: 112.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/52.65, allocations: 3.312 kB / 12.49 GB, free: 112.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004509/52.66, allocations: 0.807 MB / 12.49 GB, free: 112.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1983/52.85, allocations: 40.71 MB / 12.53 GB, free: 112.3 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00227/52.86, allocations: 76.16 kB / 12.53 GB, free: 112.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02788/52.88, allocations: 11.92 MB / 12.54 GB, free: 108.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/52.88, allocations: 4.797 kB / 12.54 GB, free: 108.3 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09081/52.98, allocations: 28.55 MB / 12.57 GB, free: 97.93 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01092/52.99, allocations: 2.736 MB / 12.57 GB, free: 96.3 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005748/52.99, allocations: 7 kB / 12.57 GB, free: 96.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01502/53.01, allocations: 0.6744 MB / 12.57 GB, free: 95.86 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/53.01, allocations: 312.9 kB / 12.57 GB, free: 95.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008739/53.01, allocations: 219.8 kB / 12.57 GB, free: 95.56 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01959/53.03, allocations: 8.961 MB / 12.58 GB, free: 90.8 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.91e-07/53.03, allocations: 0 / 12.58 GB, free: 90.8 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.05088/53.08, allocations: 6.324 MB / 12.59 GB, free: 85.02 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (373): * Single equations (assignments): 353 * 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 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009855/53.09, allocations: 5.249 MB / 12.59 GB, free: 80.5 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.05735/53.15, allocations: 28.12 MB / 12.62 GB, free: 66.46 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/53.15, allocations: 0 / 12.62 GB, free: 66.46 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01472/53.16, allocations: 6.972 MB / 12.63 GB, free: 63.04 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03767/53.2, allocations: 6.57 MB / 12.63 GB, free: 59.36 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/53.25, allocations: 20.1 MB / 12.65 GB, free: 43.99 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/53.26, allocations: 7.315 MB / 12.66 GB, free: 38.94 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02959/53.29, allocations: 6.174 MB / 12.67 GB, free: 34.87 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002839/53.29, allocations: 0.6828 MB / 12.67 GB, free: 34.28 MB / 1.042 GB Notification: Performance of SimCode: time 1.072e-06/53.29, allocations: 4 kB / 12.67 GB, free: 34.28 MB / 1.042 GB Notification: Performance of Templates: time 2.216/55.51, allocations: 380.1 MB / 13.04 GB, free: 14.62 MB / 1.073 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)