Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.973/0.973, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.00115/0.00115, allocations: 179.6 kB / 191.5 MB, free: 5.766 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.618/1.618, allocations: 223.2 MB / 447.7 MB, free: 6.535 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.001135/0.001135, allocations: 88.28 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001817/0.001817, allocations: 271.7 kB / 0.6005 GB, free: 49.01 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005081, allocations: 16 kB / 0.6929 GB, free: 2.344 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4352, allocations: 82.77 MB / 0.7737 GB, free: 26.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.651, allocations: 423.8 MB / 1.188 GB, free: 257.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.652, allocations: 108.4 kB / 1.188 GB, free: 257.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 47.11/48.76, allocations: 10.73 GB / 11.92 GB, free: 56.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.993e-06/48.76, allocations: 0 / 11.92 GB, free: 56.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003084/48.76, allocations: 356.5 kB / 11.92 GB, free: 56.65 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.07273/48.83, allocations: 17.5 MB / 11.94 GB, free: 50.26 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/48.83, allocations: 9.562 kB / 11.94 GB, free: 50.26 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/48.85, allocations: 2.084 MB / 11.94 GB, free: 49.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0667/48.92, allocations: 18.52 MB / 11.96 GB, free: 47.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/48.92, allocations: 0.5336 MB / 11.96 GB, free: 47.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004157/48.92, allocations: 0.7115 MB / 11.96 GB, free: 47.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02912/48.95, allocations: 8.506 MB / 11.97 GB, free: 46.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002318/48.95, allocations: 16.53 kB / 11.97 GB, free: 46.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/48.95, allocations: 255.4 kB / 11.97 GB, free: 46.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/48.95, allocations: 154.1 kB / 11.97 GB, free: 46.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/48.97, allocations: 6.958 MB / 11.97 GB, free: 46.14 MB / 0.9636 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.1001/49.07, allocations: 49.9 MB / 12.02 GB, free: 19.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/49.08, allocations: 4.914 MB / 12.03 GB, free: 19 MB / 0.9636 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.04105/49.12, allocations: 13.52 MB / 12.04 GB, free: 15.94 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005873/49.13, allocations: 3.364 MB / 12.04 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01414/49.14, allocations: 2.448 MB / 12.05 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=327): time 3.331e-05/49.14, allocations: 4.156 kB / 12.05 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=516): time 0.1788/49.32, allocations: 46.85 MB / 12.09 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/49.32, allocations: 106.1 kB / 12.09 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04047/49.36, allocations: 12.31 MB / 12.11 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.004037/49.37, allocations: 178.5 kB / 12.11 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01239/49.38, allocations: 6.213 MB / 12.11 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003257/49.38, allocations: 1.746 MB / 12.11 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/49.38, allocations: 142.7 kB / 12.11 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005246/49.39, allocations: 0.5969 MB / 12.11 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01027/49.4, allocations: 4.594 MB / 12.12 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01441/49.41, allocations: 7.525 MB / 12.13 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/49.42, allocations: 5.366 MB / 12.13 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/49.42, allocations: 15.47 kB / 12.13 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.04961/49.47, allocations: 15.3 MB / 12.15 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.134/50.61, allocations: 38.5 MB / 12.18 GB, free: 70.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003542/50.61, allocations: 60.67 kB / 12.18 GB, free: 70.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/50.62, allocations: 3.514 MB / 12.19 GB, free: 70.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/50.63, allocations: 1.861 MB / 12.19 GB, free: 70.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/50.65, allocations: 12.37 MB / 12.2 GB, free: 64.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0218/50.67, allocations: 1.211 MB / 12.2 GB, free: 64.26 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003763/50.67, allocations: 490.6 kB / 12.2 GB, free: 64.26 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/50.68, allocations: 6.25 kB / 12.2 GB, free: 64.26 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04769/50.72, allocations: 14.28 MB / 12.22 GB, free: 63.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004604/50.72, allocations: 58.53 kB / 12.22 GB, free: 63.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/50.73, allocations: 3.798 MB / 12.22 GB, free: 63.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01141/50.75, allocations: 1.848 MB / 12.22 GB, free: 63.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03666/50.78, allocations: 17.35 MB / 12.24 GB, free: 58.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02128/50.8, allocations: 1.181 MB / 12.24 GB, free: 58.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003757/50.81, allocations: 450.6 kB / 12.24 GB, free: 58.3 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (738): * Single equations (assignments): 721 * 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: 6 * 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: 6 {1 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01392/50.82, allocations: 3.14 MB / 12.24 GB, free: 58.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006071/50.83, allocations: 1.211 MB / 12.24 GB, free: 58.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04417/50.87, allocations: 13.74 MB / 12.26 GB, free: 57.59 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001129/50.87, allocations: 62.94 kB / 12.26 GB, free: 57.59 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-05/50.87, allocations: 2.594 kB / 12.26 GB, free: 57.59 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02926/50.9, allocations: 11.1 MB / 12.27 GB, free: 57.01 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 postOpt removeSimpleEquations (simulation): time 0.08128/50.98, allocations: 25.57 MB / 12.29 GB, free: 55.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.449e-05/50.98, allocations: 6.438 kB / 12.29 GB, free: 55.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007839/50.99, allocations: 1.154 MB / 12.3 GB, free: 55.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006879/51, allocations: 2.391 MB / 12.3 GB, free: 54.95 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001691/51, allocations: 165.5 kB / 12.3 GB, free: 54.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/51.01, allocations: 10.99 MB / 12.31 GB, free: 48.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/51.01, allocations: 17.23 kB / 12.31 GB, free: 48.29 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0481/51.06, allocations: 20.58 MB / 12.33 GB, free: 44.83 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01453/51.07, allocations: 2.573 MB / 12.33 GB, free: 44.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01014/51.08, allocations: 106.4 kB / 12.33 GB, free: 44.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01722/51.1, allocations: 0.9862 MB / 12.33 GB, free: 44.07 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002128/51.1, allocations: 396 kB / 12.33 GB, free: 44.06 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001673/51.1, allocations: 254.1 kB / 12.33 GB, free: 44.06 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02886/51.13, allocations: 9.393 MB / 12.34 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.81e-07/51.13, allocations: 0 / 12.34 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.05402/51.19, allocations: 6.041 MB / 12.35 GB, free: 43.7 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 414 * 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: 6 * 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: 6 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01349/51.2, allocations: 5.04 MB / 12.35 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.05517/51.26, allocations: 18.34 MB / 12.37 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.07e-05/51.26, allocations: 8.891 kB / 12.37 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01527/51.27, allocations: 5.183 MB / 12.38 GB, free: 40.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0399/51.31, allocations: 5.879 MB / 12.38 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07061/51.38, allocations: 27.74 MB / 12.41 GB, free: 29.43 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01249/51.39, allocations: 7.106 MB / 12.42 GB, free: 28.32 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02381/51.42, allocations: 3.884 MB / 12.42 GB, free: 27.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00556/51.42, allocations: 0.951 MB / 12.42 GB, free: 27.68 MB / 0.9948 GB Notification: Performance of SimCode: time 1.112e-06/51.42, allocations: 4 kB / 12.42 GB, free: 27.68 MB / 0.9948 GB Notification: Performance of Templates: time 2.427/53.85, allocations: 273.5 MB / 12.69 GB, free: 114.4 MB / 1.026 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)