Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.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.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8862/0.8862, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.00113/0.00113, allocations: 188.2 kB / 182.2 MB, free: 9.453 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.517/1.517, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008472/0.0008473, allocations: 95.53 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 280 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.486e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.463, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8623/1.325, allocations: 378.6 MB / 1.127 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.326, allocations: 92.45 kB / 1.127 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.053/10.38, allocations: 2.304 GB / 3.432 GB, free: 76.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.944e-06/10.38, allocations: 0 / 3.432 GB, free: 76.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001722/10.38, allocations: 259.9 kB / 3.432 GB, free: 76.73 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03163/10.41, allocations: 7.317 MB / 3.439 GB, free: 73.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/10.41, allocations: 6.375 kB / 3.439 GB, free: 73.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/10.42, allocations: 1.224 MB / 3.44 GB, free: 73.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03571/10.46, allocations: 12.54 MB / 3.452 GB, free: 72.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005062/10.46, allocations: 178.3 kB / 3.453 GB, free: 72.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003394/10.46, allocations: 352.2 kB / 3.453 GB, free: 72.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02808/10.49, allocations: 17.77 MB / 3.47 GB, free: 72.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03261/10.52, allocations: 12.55 MB / 3.483 GB, free: 71.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005488/10.52, allocations: 15.25 kB / 3.483 GB, free: 71.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003641/10.53, allocations: 12.78 kB / 3.483 GB, free: 71.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/10.53, allocations: 136.5 kB / 3.483 GB, free: 71.34 MB / 0.7448 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.1041/10.63, allocations: 54.58 MB / 3.536 GB, free: 52.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/10.64, allocations: 8.643 MB / 3.544 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0126/10.66, allocations: 9.197 MB / 3.553 GB, free: 50.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05938/10.72, allocations: 26.28 MB / 3.579 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01171/10.73, allocations: 7.209 MB / 3.586 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05116/10.78, allocations: 21.05 MB / 3.607 GB, free: 17.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=301): time 5.251e-05/10.78, allocations: 0 / 3.607 GB, free: 17.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=301): time 0.04103/10.82, allocations: 15.04 MB / 3.621 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/10.82, allocations: 84.78 kB / 3.621 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6264/11.45, allocations: 6.402 MB / 3.628 GB, free: 80.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002754/11.45, allocations: 35.23 kB / 3.628 GB, free: 80.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.005215/11.45, allocations: 3.994 MB / 3.632 GB, free: 80.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003498/11.46, allocations: 1.046 MB / 3.633 GB, free: 79.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000988/11.46, allocations: 0 / 3.633 GB, free: 79.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003355/11.46, allocations: 497 kB / 3.633 GB, free: 79.36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007435/11.47, allocations: 6.02 MB / 3.639 GB, free: 79.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009557/11.48, allocations: 7.803 MB / 3.647 GB, free: 77.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/11.49, allocations: 7.54 MB / 3.654 GB, free: 77.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/11.49, allocations: 21.02 kB / 3.654 GB, free: 77.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0381/11.53, allocations: 16.57 MB / 3.67 GB, free: 76.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.006235/11.54, allocations: 24.55 MB / 3.694 GB, free: 50.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/11.54, allocations: 49.34 kB / 3.694 GB, free: 50.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/11.54, allocations: 1.539 MB / 3.696 GB, free: 50.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009215/11.55, allocations: 1.609 MB / 3.697 GB, free: 50.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/11.56, allocations: 6.947 MB / 3.704 GB, free: 48.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01409/11.58, allocations: 0.5017 MB / 3.705 GB, free: 48.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003728/11.58, allocations: 0.5501 MB / 3.705 GB, free: 48.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/11.58, allocations: 3.344 kB / 3.705 GB, free: 48.02 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0391/11.62, allocations: 15.74 MB / 3.72 GB, free: 47.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002597/11.62, allocations: 48.56 kB / 3.721 GB, free: 47.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003911/11.63, allocations: 1.419 MB / 3.722 GB, free: 47.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00928/11.63, allocations: 1.598 MB / 3.723 GB, free: 47.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/11.65, allocations: 10.51 MB / 3.734 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01333/11.67, allocations: 489.3 kB / 3.734 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003615/11.67, allocations: 0.5401 MB / 3.735 GB, free: 43.19 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005387/11.68, allocations: 252.6 kB / 3.735 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005371/11.68, allocations: 0.6981 MB / 3.736 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03599/11.72, allocations: 13.77 MB / 3.749 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-05/11.72, allocations: 33.56 kB / 3.749 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/11.72, allocations: 3.938 kB / 3.749 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01978/11.74, allocations: 10.46 MB / 3.759 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0446/11.78, allocations: 23.49 MB / 3.782 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/11.78, allocations: 0 / 3.782 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005048/11.79, allocations: 0.7044 MB / 3.783 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/11.79, allocations: 0.6995 MB / 3.784 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007956/11.79, allocations: 66.88 kB / 3.784 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008251/11.8, allocations: 5.003 MB / 3.789 GB, free: 35.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/11.8, allocations: 11.55 kB / 3.789 GB, free: 35.83 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03109/11.83, allocations: 18.45 MB / 3.807 GB, free: 31.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007366/11.84, allocations: 1.933 MB / 3.809 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003287/11.84, allocations: 16.22 kB / 3.809 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008366/11.85, allocations: 355.2 kB / 3.809 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008266/11.85, allocations: 227 kB / 3.809 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006692/11.85, allocations: 157 kB / 3.809 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.008518/11.86, allocations: 4.856 MB / 3.814 GB, free: 29.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/11.86, allocations: 0 / 3.814 GB, free: 29.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.02655/11.88, allocations: 5.024 MB / 3.819 GB, free: 28.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004438/11.89, allocations: 1.177 MB / 3.82 GB, free: 28.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.03721/11.93, allocations: 23.05 MB / 3.843 GB, free: 18.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/11.93, allocations: 3.156 kB / 3.843 GB, free: 18.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.007665/11.93, allocations: 6.003 MB / 3.848 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0219/11.96, allocations: 4 MB / 3.852 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/11.99, allocations: 16.77 MB / 3.869 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008878/12, allocations: 5.65 MB / 3.874 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.03482/12.03, allocations: 7.316 MB / 3.881 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005504/12.04, allocations: 0.7487 MB / 3.882 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of SimCode: time 1.193e-06/12.04, allocations: 0 / 3.882 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.8806/12.92, allocations: 198.6 MB / 4.076 GB, free: 53.97 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe 2>&1)