Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001474/0.001474, allocations: 196.5 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.855/1.855, allocations: 205.4 MB / 0.6367 GB, free: 8.523 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.001002/0.001002, allocations: 91.58 kB / 0.751 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004024, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.306, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.673/1.979, allocations: 465.9 MB / 1.443 GB, free: 264.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.979, allocations: 101.6 kB / 1.443 GB, free: 264.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 47.02/49, allocations: 10.36 GB / 11.8 GB, free: 102.7 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.285e-06/49, allocations: 0 / 11.8 GB, free: 102.7 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.003805/49.01, allocations: 383.5 kB / 11.8 GB, free: 102.6 MB / 1.245 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.08464/49.09, allocations: 18.72 MB / 11.82 GB, free: 95.8 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/49.09, allocations: 8 kB / 11.82 GB, free: 95.8 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/49.11, allocations: 2.187 MB / 11.82 GB, free: 94.95 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07479/49.18, allocations: 20.28 MB / 11.84 GB, free: 92.68 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/49.18, allocations: 0.607 MB / 11.84 GB, free: 92.66 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005499/49.19, allocations: 0.8107 MB / 11.84 GB, free: 92.66 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04757/49.24, allocations: 14.24 MB / 11.86 GB, free: 91.87 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000807/49.24, allocations: 8.875 kB / 11.86 GB, free: 91.87 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005307/49.24, allocations: 290.8 kB / 11.86 GB, free: 91.87 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/49.24, allocations: 192.7 kB / 11.86 GB, free: 91.87 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04518/49.29, allocations: 18.47 MB / 11.88 GB, free: 91.8 MB / 1.245 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.1714/49.46, allocations: 74.23 MB / 11.95 GB, free: 57.87 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02016/49.48, allocations: 9.8 MB / 11.96 GB, free: 57.7 MB / 1.245 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.08735/49.57, allocations: 29.92 MB / 11.99 GB, free: 49.23 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01894/49.59, allocations: 8.273 MB / 12 GB, free: 49.1 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04802/49.63, allocations: 14.74 MB / 12.01 GB, free: 48.25 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 5.559e-05/49.63, allocations: 0 / 12.01 GB, free: 48.25 MB / 1.245 GB Notification: Performance of matching and sorting (n=616): time 1.682/51.32, allocations: 107.6 MB / 12.11 GB, free: 104.2 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/51.32, allocations: 116.3 kB / 12.11 GB, free: 104.1 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04022/51.36, allocations: 12.74 MB / 12.13 GB, free: 103.5 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.005346/51.36, allocations: 193.5 kB / 12.13 GB, free: 103.5 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01474/51.38, allocations: 6.664 MB / 12.13 GB, free: 103.3 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006971/51.38, allocations: 2.077 MB / 12.14 GB, free: 103.3 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/51.39, allocations: 160.4 kB / 12.14 GB, free: 103.3 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0009085/51.39, allocations: 0.6186 MB / 12.14 GB, free: 103 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0203/51.41, allocations: 8.517 MB / 12.14 GB, free: 103 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02481/51.43, allocations: 11.31 MB / 12.16 GB, free: 99.84 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02723/51.46, allocations: 9.486 MB / 12.17 GB, free: 99.7 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000248/51.46, allocations: 14.38 kB / 12.17 GB, free: 99.7 MB / 1.245 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.08776/51.55, allocations: 27.43 MB / 12.19 GB, free: 98.76 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.009095/51.56, allocations: 34.79 MB / 12.23 GB, free: 62.71 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003036/51.56, allocations: 56.06 kB / 12.23 GB, free: 62.71 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.624/52.18, allocations: 146.8 MB / 12.37 GB, free: 62 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01282/52.2, allocations: 1.942 MB / 12.37 GB, free: 61.98 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04229/52.24, allocations: 24.82 MB / 12.4 GB, free: 56.72 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02514/52.26, allocations: 1.361 MB / 12.4 GB, free: 56.61 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007534/52.27, allocations: 0.8142 MB / 12.4 GB, free: 56.61 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/52.27, allocations: 4.938 kB / 12.4 GB, free: 56.61 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07419/52.34, allocations: 26.38 MB / 12.42 GB, free: 56.11 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004303/52.35, allocations: 57.84 kB / 12.42 GB, free: 56.11 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5986/52.94, allocations: 147.1 MB / 12.57 GB, free: 1.547 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01131/52.96, allocations: 1.941 MB / 12.57 GB, free: 15.74 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254/54.21, allocations: 29.52 MB / 12.6 GB, free: 146.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02487/54.23, allocations: 1.324 MB / 12.6 GB, free: 146.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006334/54.24, allocations: 0.7747 MB / 12.6 GB, free: 146.7 MB / 1.292 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 744 * 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 {32 38,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01755/54.26, allocations: 3.359 MB / 12.6 GB, free: 146.6 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007942/54.27, allocations: 1.286 MB / 12.6 GB, free: 146.6 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1981/54.46, allocations: 47.16 MB / 12.65 GB, free: 145.9 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001661/54.46, allocations: 80.45 kB / 12.65 GB, free: 145.9 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.45e-05/54.46, allocations: 0 / 12.65 GB, free: 145.9 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1803/54.64, allocations: 41.57 MB / 12.69 GB, free: 145.4 MB / 1.292 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.1448/54.79, allocations: 48.56 MB / 12.74 GB, free: 139.1 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-05/54.79, allocations: 14.12 kB / 12.74 GB, free: 139.1 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007912/54.8, allocations: 1.349 MB / 12.74 GB, free: 139.1 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1791/54.98, allocations: 42.02 MB / 12.78 GB, free: 139 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002318/54.98, allocations: 204.7 kB / 12.78 GB, free: 139 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/55, allocations: 13.76 MB / 12.79 GB, free: 133.9 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/55, allocations: 10.09 kB / 12.79 GB, free: 133.9 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1424/55.14, allocations: 45.04 MB / 12.84 GB, free: 130.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01421/55.16, allocations: 3.096 MB / 12.84 GB, free: 129.7 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007809/55.17, allocations: 137 kB / 12.84 GB, free: 129.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01848/55.18, allocations: 1.057 MB / 12.84 GB, free: 129.7 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002757/55.19, allocations: 477.4 kB / 12.84 GB, free: 129.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002298/55.19, allocations: 309.2 kB / 12.84 GB, free: 129.7 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02586/55.22, allocations: 9.74 MB / 12.85 GB, free: 129.3 MB / 1.292 GB Notification: Performance of sort global known variables: time 6.82e-07/55.22, allocations: 2.406 kB / 12.85 GB, free: 129.3 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05859/55.27, allocations: 7.186 MB / 12.86 GB, free: 129.3 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 514 * 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,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01282/55.29, allocations: 5.556 MB / 12.87 GB, free: 127.3 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.08642/55.37, allocations: 34.57 MB / 12.9 GB, free: 126.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.198e-05/55.37, allocations: 4 kB / 12.9 GB, free: 126.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02328/55.4, allocations: 9.573 MB / 12.91 GB, free: 121.9 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03965/55.44, allocations: 6.807 MB / 12.92 GB, free: 118.3 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07187/55.51, allocations: 32.22 MB / 12.95 GB, free: 92.6 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01521/55.52, allocations: 7.649 MB / 12.95 GB, free: 87.92 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02363/55.55, allocations: 4.088 MB / 12.96 GB, free: 84.96 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005417/55.55, allocations: 1.087 MB / 12.96 GB, free: 84.09 MB / 1.292 GB Notification: Performance of SimCode: time 1.232e-06/55.55, allocations: 0 / 12.96 GB, free: 84.09 MB / 1.292 GB Notification: Performance of Templates: time 2.473/58.03, allocations: 420.4 MB / 13.37 GB, free: 87.33 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)