Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7875/0.7875, allocations: 128.7 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.4 kB / 173.8 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009101/0.0009099, allocations: 95.8 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003152, allocations: 10.73 kB / 0.5603 GB, free: 97.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 76.76 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.25, allocations: 429 MB / 1.054 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.25, allocations: 109.9 kB / 1.054 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 42.05/43.3, allocations: 9.968 GB / 11.02 GB, free: 82.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.039e-06/43.3, allocations: 0 / 11.02 GB, free: 82.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003342/43.3, allocations: 386.2 kB / 11.02 GB, free: 82.41 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.07952/43.38, allocations: 18.6 MB / 11.04 GB, free: 75.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/43.38, allocations: 8.156 kB / 11.04 GB, free: 75.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/43.4, allocations: 2.327 MB / 11.04 GB, free: 74.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07881/43.48, allocations: 21.49 MB / 11.06 GB, free: 72.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/43.48, allocations: 0.5925 MB / 11.06 GB, free: 72.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005436/43.49, allocations: 0.7946 MB / 11.07 GB, free: 72.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05949/43.55, allocations: 16.58 MB / 11.08 GB, free: 71.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004138/43.55, allocations: 14.8 kB / 11.08 GB, free: 71.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003983/43.55, allocations: 286.7 kB / 11.08 GB, free: 71.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/43.55, allocations: 185.1 kB / 11.08 GB, free: 71.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0468/43.6, allocations: 20.8 MB / 11.1 GB, free: 64.76 MB / 0.948 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 1.2/44.8, allocations: 74.05 MB / 11.17 GB, free: 86.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02974/44.83, allocations: 12.16 MB / 11.19 GB, free: 86.36 MB / 0.948 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.06411/44.89, allocations: 27.99 MB / 11.21 GB, free: 78.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02938/44.92, allocations: 10.72 MB / 11.22 GB, free: 78.27 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04728/44.97, allocations: 14.74 MB / 11.24 GB, free: 78.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=425): time 5.425e-05/44.97, allocations: 0 / 11.24 GB, free: 78.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=614): time 1.011/45.98, allocations: 215.9 MB / 11.45 GB, free: 42.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/45.98, allocations: 113.8 kB / 11.45 GB, free: 42.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03259/46.01, allocations: 12.51 MB / 11.46 GB, free: 33.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005511/46.02, allocations: 194.5 kB / 11.46 GB, free: 33.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01062/46.03, allocations: 6.692 MB / 11.47 GB, free: 30.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007976/46.04, allocations: 2.074 MB / 11.47 GB, free: 29.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004042/46.04, allocations: 155.7 kB / 11.47 GB, free: 29.09 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007212/46.04, allocations: 0.6236 MB / 11.47 GB, free: 28.58 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0178/46.06, allocations: 8.871 MB / 11.48 GB, free: 22.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02209/46.08, allocations: 11.66 MB / 11.49 GB, free: 13.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02025/46.1, allocations: 9.865 MB / 11.5 GB, free: 7.539 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/46.1, allocations: 16.66 kB / 11.5 GB, free: 7.523 MB / 0.948 GB Notification: Performance of matching and sorting (n=1036) (initialization): time 1.234/47.34, allocations: 36.06 MB / 11.54 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00867/47.34, allocations: 36.19 MB / 11.57 GB, free: 71.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002524/47.34, allocations: 59.36 kB / 11.57 GB, free: 71.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.621/47.97, allocations: 149.4 MB / 11.72 GB, free: 70.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/47.98, allocations: 1.725 MB / 11.72 GB, free: 70.78 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07811/48.06, allocations: 40.21 MB / 11.76 GB, free: 64.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02506/48.08, allocations: 1.464 MB / 11.76 GB, free: 64.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005559/48.09, allocations: 0.8268 MB / 11.76 GB, free: 64.84 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/48.09, allocations: 3.719 kB / 11.76 GB, free: 64.84 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07735/48.16, allocations: 26.37 MB / 11.79 GB, free: 64.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000415/48.16, allocations: 56.56 kB / 11.79 GB, free: 64.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628/49.79, allocations: 147.5 MB / 11.93 GB, free: 139.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009515/49.8, allocations: 1.675 MB / 11.93 GB, free: 139.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08339/49.89, allocations: 40.66 MB / 11.97 GB, free: 135 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02163/49.91, allocations: 1.08 MB / 11.97 GB, free: 135 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005171/49.91, allocations: 0.7658 MB / 11.97 GB, free: 135 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 245 * 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 (756): * Single equations (assignments): 743 * 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: 3 * 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: 1 {(6,66.7%) 82} * Non-linear torn systems: 2 {32 38,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01609/49.93, allocations: 3.334 MB / 11.98 GB, free: 134.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007609/49.94, allocations: 1.284 MB / 11.98 GB, free: 134.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1305/50.07, allocations: 34.12 MB / 12.01 GB, free: 134.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000183/50.07, allocations: 73.81 kB / 12.01 GB, free: 134.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.733e-05/50.07, allocations: 18.05 kB / 12.01 GB, free: 134.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1007/50.17, allocations: 28.41 MB / 12.04 GB, free: 133.8 MB / 1.01 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.2831/50.45, allocations: 75.74 MB / 12.11 GB, free: 127.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.922e-05/50.45, allocations: 7.562 kB / 12.11 GB, free: 127.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007277/50.46, allocations: 1.171 MB / 12.11 GB, free: 127.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1812/50.64, allocations: 44.59 MB / 12.16 GB, free: 109.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002452/50.64, allocations: 225.8 kB / 12.16 GB, free: 109.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.149/50.79, allocations: 55.96 MB / 12.21 GB, free: 77.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/50.79, allocations: 11.38 kB / 12.21 GB, free: 77.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.169/51.96, allocations: 64.44 MB / 12.28 GB, free: 137.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01483/51.97, allocations: 3.086 MB / 12.28 GB, free: 137.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007157/51.98, allocations: 136.4 kB / 12.28 GB, free: 137.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0196/52, allocations: 1.23 MB / 12.28 GB, free: 137.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003724/52.01, allocations: 0.5805 MB / 12.28 GB, free: 137.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002159/52.01, allocations: 315.3 kB / 12.28 GB, free: 137.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0269/52.03, allocations: 9.571 MB / 12.29 GB, free: 136.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.9e-07/52.03, allocations: 0.875 kB / 12.29 GB, free: 136.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.06602/52.1, allocations: 7.761 MB / 12.3 GB, free: 136.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (532): * Single equations (assignments): 512 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,56.2%) 74} * Non-linear torn systems: 2 {30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01198/52.11, allocations: 5.659 MB / 12.3 GB, free: 134.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.08871/52.2, allocations: 36.4 MB / 12.34 GB, free: 133.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.431e-05/52.2, allocations: 11.41 kB / 12.34 GB, free: 133.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.03117/52.23, allocations: 11.56 MB / 12.35 GB, free: 133.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03955/52.27, allocations: 6.66 MB / 12.36 GB, free: 133.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1038/52.38, allocations: 38.05 MB / 12.39 GB, free: 121.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01977/52.4, allocations: 7.743 MB / 12.4 GB, free: 120.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02724/52.42, allocations: 4.013 MB / 12.41 GB, free: 120.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00668/52.43, allocations: 1.07 MB / 12.41 GB, free: 120.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.332e-06/52.43, allocations: 3.125 kB / 12.41 GB, free: 120.4 MB / 1.01 GB Notification: Performance of Templates: time 1.541/53.97, allocations: 461.2 MB / 12.86 GB, free: 110.3 MB / 1.01 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)