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.9153/0.9153, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001607/0.001607, allocations: 181 kB / 191.5 MB, free: 5.754 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.534/1.534, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.0009016/0.0009014, allocations: 88.33 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001762, allocations: 269.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 12 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.442, allocations: 422.6 MB / 1.186 GB, free: 195 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.442, allocations: 110.2 kB / 1.187 GB, free: 195 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 48.37/49.81, allocations: 10.55 GB / 11.74 GB, free: 68.27 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.16e-05/49.81, allocations: 3.234 kB / 11.74 GB, free: 68.27 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004929/49.82, allocations: 385.5 kB / 11.74 GB, free: 68.2 MB / 0.9948 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.08216/49.9, allocations: 18.77 MB / 11.76 GB, free: 61.47 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/49.9, allocations: 10.66 kB / 11.76 GB, free: 61.47 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01884/49.92, allocations: 2.195 MB / 11.76 GB, free: 60.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07812/50, allocations: 20.34 MB / 11.78 GB, free: 58.33 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/50, allocations: 0.6011 MB / 11.78 GB, free: 58.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006003/50.01, allocations: 0.813 MB / 11.78 GB, free: 58.31 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05177/50.06, allocations: 14.24 MB / 11.8 GB, free: 57.53 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001083/50.06, allocations: 11.62 kB / 11.8 GB, free: 57.53 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00764/50.07, allocations: 289.4 kB / 11.8 GB, free: 57.53 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004333/50.07, allocations: 187.2 kB / 11.8 GB, free: 57.53 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04546/50.11, allocations: 18.48 MB / 11.81 GB, free: 57.46 MB / 0.9948 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.1672/50.28, allocations: 74.32 MB / 11.89 GB, free: 23.59 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/50.3, allocations: 9.796 MB / 11.9 GB, free: 23.42 MB / 0.9948 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.07402/50.37, allocations: 29.95 MB / 11.93 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02071/50.39, allocations: 8.265 MB / 11.93 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04921/50.44, allocations: 14.73 MB / 11.95 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=427): time 6.062e-05/50.44, allocations: 0 / 11.95 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=616): time 1.61/52.05, allocations: 107.6 MB / 12.05 GB, free: 84.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/52.05, allocations: 121.1 kB / 12.05 GB, free: 84.47 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05667/52.11, allocations: 12.87 MB / 12.07 GB, free: 83.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.005076/52.12, allocations: 193.8 kB / 12.07 GB, free: 83.83 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01374/52.13, allocations: 6.635 MB / 12.07 GB, free: 83.64 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.006984/52.14, allocations: 2.08 MB / 12.08 GB, free: 83.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004765/52.14, allocations: 156.4 kB / 12.08 GB, free: 83.64 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001158/52.14, allocations: 0.6188 MB / 12.08 GB, free: 83.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02165/52.16, allocations: 8.52 MB / 12.08 GB, free: 83.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02721/52.19, allocations: 11.31 MB / 12.1 GB, free: 80.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02727/52.22, allocations: 9.475 MB / 12.1 GB, free: 80.03 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002199/52.22, allocations: 14.59 kB / 12.1 GB, free: 80.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.08822/52.31, allocations: 27.45 MB / 12.13 GB, free: 79.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.009437/52.32, allocations: 34.78 MB / 12.17 GB, free: 43.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003322/52.32, allocations: 53.97 kB / 12.17 GB, free: 43.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6068/52.92, allocations: 146.8 MB / 12.31 GB, free: 41.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01277/52.94, allocations: 1.945 MB / 12.31 GB, free: 41.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/52.98, allocations: 24.83 MB / 12.33 GB, free: 36.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02675/53.01, allocations: 1.367 MB / 12.34 GB, free: 36.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005647/53.01, allocations: 0.8165 MB / 12.34 GB, free: 36.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/53.01, allocations: 5 kB / 12.34 GB, free: 36.36 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07188/53.08, allocations: 26.39 MB / 12.36 GB, free: 32.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003539/53.08, allocations: 55.75 kB / 12.36 GB, free: 32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827/54.91, allocations: 147.1 MB / 12.51 GB, free: 112.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/54.92, allocations: 1.932 MB / 12.51 GB, free: 112.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05811/54.98, allocations: 29.54 MB / 12.54 GB, free: 108.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02486/55, allocations: 1.339 MB / 12.54 GB, free: 108.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005229/55.01, allocations: 0.7671 MB / 12.54 GB, free: 108.2 MB / 1.042 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.01676/55.03, allocations: 3.373 MB / 12.54 GB, free: 108.1 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00861/55.03, allocations: 1.292 MB / 12.54 GB, free: 108.1 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2197/55.25, allocations: 47.19 MB / 12.59 GB, free: 107.4 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001935/55.25, allocations: 79.8 kB / 12.59 GB, free: 107.4 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/55.25, allocations: 1.031 kB / 12.59 GB, free: 107.4 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1665/55.42, allocations: 41.58 MB / 12.63 GB, free: 106.6 MB / 1.042 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.1326/55.55, allocations: 48.64 MB / 12.68 GB, free: 100.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001815/55.55, allocations: 7.75 kB / 12.68 GB, free: 100.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008546/55.56, allocations: 1.352 MB / 12.68 GB, free: 100.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1729/55.74, allocations: 42.02 MB / 12.72 GB, free: 82.04 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003629/55.74, allocations: 206.1 kB / 12.72 GB, free: 81.97 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/55.76, allocations: 13.76 MB / 12.73 GB, free: 72.25 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/55.76, allocations: 10.16 kB / 12.73 GB, free: 72.24 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1394/55.9, allocations: 45.07 MB / 12.78 GB, free: 47.95 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01518/55.92, allocations: 3.118 MB / 12.78 GB, free: 46.12 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007383/55.92, allocations: 141 kB / 12.78 GB, free: 46.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01932/55.94, allocations: 1.061 MB / 12.78 GB, free: 45.45 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002955/55.95, allocations: 474.5 kB / 12.78 GB, free: 45.21 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001513/55.95, allocations: 311.9 kB / 12.78 GB, free: 45.01 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0256/55.97, allocations: 9.843 MB / 12.79 GB, free: 40.02 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.603e-06/55.97, allocations: 3.938 kB / 12.79 GB, free: 40.02 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0625/56.03, allocations: 7.22 MB / 12.8 GB, free: 33.72 MB / 1.042 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.01168/56.05, allocations: 5.573 MB / 12.81 GB, free: 29.07 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 1.188/57.23, allocations: 34.56 MB / 12.84 GB, free: 111.7 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-05/57.23, allocations: 2.906 kB / 12.84 GB, free: 111.7 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.02755/57.26, allocations: 9.556 MB / 12.85 GB, free: 111.6 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04463/57.31, allocations: 6.732 MB / 12.85 GB, free: 111.5 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08062/57.39, allocations: 32.37 MB / 12.89 GB, free: 99.7 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02332/57.41, allocations: 7.69 MB / 12.89 GB, free: 98.71 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02957/57.44, allocations: 4.111 MB / 12.9 GB, free: 98.57 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007833/57.45, allocations: 1.093 MB / 12.9 GB, free: 98.55 MB / 1.042 GB Notification: Performance of SimCode: time 1.162e-06/57.45, allocations: 0 / 12.9 GB, free: 98.55 MB / 1.042 GB Notification: Performance of Templates: time 2.345/59.79, allocations: 419.6 MB / 13.31 GB, free: 136.9 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)