Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8888/0.8888, 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.001478/0.001478, allocations: 183.5 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.615/1.615, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.001151/0.001152, allocations: 84.33 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 276.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004485, allocations: 11.62 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2078, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9034/1.111, allocations: 361.9 MB / 1.127 GB, free: 11.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/1.112, allocations: 102.3 kB / 1.127 GB, free: 11.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.921/3.033, allocations: 490.5 MB / 1.606 GB, free: 78.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/3.033, allocations: 0 / 1.606 GB, free: 78.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000159/3.033, allocations: 35.98 kB / 1.606 GB, free: 78.67 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004727/3.038, allocations: 1.963 MB / 1.608 GB, free: 76.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/3.038, allocations: 8.562 kB / 1.608 GB, free: 76.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/3.039, allocations: 233.9 kB / 1.608 GB, free: 76.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/3.044, allocations: 1.951 MB / 1.61 GB, free: 74.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/3.044, allocations: 66 kB / 1.61 GB, free: 74.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/3.044, allocations: 91.84 kB / 1.61 GB, free: 74.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/3.045, allocations: 0.9607 MB / 1.611 GB, free: 73.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/3.045, allocations: 4 kB / 1.611 GB, free: 73.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/3.046, allocations: 35.94 kB / 1.611 GB, free: 73.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/3.046, allocations: 16 kB / 1.611 GB, free: 73.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/3.047, allocations: 0.7142 MB / 1.612 GB, free: 72.48 MB / 0.698 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.005641/3.052, allocations: 4.602 MB / 1.617 GB, free: 67.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/3.054, allocations: 0.5905 MB / 1.617 GB, free: 67.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002603/3.056, allocations: 1.702 MB / 1.619 GB, free: 65.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/3.057, allocations: 342.4 kB / 1.619 GB, free: 64.83 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005722/3.057, allocations: 111.3 kB / 1.619 GB, free: 64.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 5.44e-06/3.057, allocations: 3.797 kB / 1.619 GB, free: 64.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=46): time 0.002447/3.06, allocations: 1.113 MB / 1.62 GB, free: 63.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/3.06, allocations: 63.39 kB / 1.62 GB, free: 63.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/3.061, allocations: 1.119 MB / 1.622 GB, free: 62.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/3.061, allocations: 41.69 kB / 1.622 GB, free: 62.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/3.062, allocations: 0.6373 MB / 1.622 GB, free: 61.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/3.062, allocations: 165.7 kB / 1.622 GB, free: 61.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/3.062, allocations: 16 kB / 1.622 GB, free: 61.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/3.062, allocations: 330 kB / 1.623 GB, free: 61.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/3.063, allocations: 241.8 kB / 1.623 GB, free: 60.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/3.063, allocations: 0.5748 MB / 1.623 GB, free: 60.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/3.064, allocations: 354.4 kB / 1.624 GB, free: 59.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/3.064, allocations: 3.938 kB / 1.624 GB, free: 59.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001764/3.065, allocations: 1.013 MB / 1.625 GB, free: 58.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006312/3.066, allocations: 3.047 MB / 1.628 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/3.066, allocations: 8 kB / 1.628 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/3.067, allocations: 148.6 kB / 1.628 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/3.067, allocations: 151.7 kB / 1.628 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005952/3.068, allocations: 0.7639 MB / 1.629 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/3.069, allocations: 87.83 kB / 1.629 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/3.069, allocations: 39.98 kB / 1.629 GB, free: 54.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/3.069, allocations: 4 kB / 1.629 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001397/3.07, allocations: 0.9088 MB / 1.63 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/3.07, allocations: 12.39 kB / 1.63 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/3.071, allocations: 116.7 kB / 1.63 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/3.071, allocations: 135.8 kB / 1.63 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/3.073, allocations: 2.227 MB / 1.632 GB, free: 50.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/3.074, allocations: 83.84 kB / 1.632 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/3.074, allocations: 32 kB / 1.632 GB, free: 50.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009045/3.075, allocations: 480.7 kB / 1.633 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/3.075, allocations: 130.4 kB / 1.633 GB, free: 50.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/3.077, allocations: 0.8961 MB / 1.634 GB, free: 49.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/3.077, allocations: 8 kB / 1.634 GB, free: 49.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/3.077, allocations: 0 / 1.634 GB, free: 49.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/3.078, allocations: 0.898 MB / 1.635 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/3.081, allocations: 1.865 MB / 1.637 GB, free: 46.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/3.081, allocations: 3.875 kB / 1.637 GB, free: 46.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/3.081, allocations: 83.94 kB / 1.637 GB, free: 46.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/3.081, allocations: 124.6 kB / 1.637 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/3.082, allocations: 20.05 kB / 1.637 GB, free: 46.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004577/3.082, allocations: 0.7509 MB / 1.637 GB, free: 45.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/3.082, allocations: 3.953 kB / 1.637 GB, free: 45.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/3.084, allocations: 1.235 MB / 1.639 GB, free: 43.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/3.084, allocations: 271.3 kB / 1.639 GB, free: 43.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/3.085, allocations: 12 kB / 1.639 GB, free: 43.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/3.085, allocations: 63.84 kB / 1.639 GB, free: 43.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/3.085, allocations: 44.38 kB / 1.639 GB, free: 43.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/3.085, allocations: 23.98 kB / 1.639 GB, free: 43.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001137/3.086, allocations: 0.8815 MB / 1.64 GB, free: 42.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/3.086, allocations: 0 / 1.64 GB, free: 42.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002454/3.089, allocations: 0.7215 MB / 1.641 GB, free: 41.92 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001452/3.09, allocations: 0.7646 MB / 1.641 GB, free: 41.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00248/3.093, allocations: 1.32 MB / 1.643 GB, free: 39.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/3.093, allocations: 0 / 1.643 GB, free: 39.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006417/3.094, allocations: 327.1 kB / 1.643 GB, free: 39.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/3.096, allocations: 0.5588 MB / 1.644 GB, free: 39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/3.1, allocations: 2.675 MB / 1.646 GB, free: 36.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/3.1, allocations: 1.299 MB / 1.647 GB, free: 34.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00136/3.102, allocations: 310.8 kB / 1.648 GB, free: 34.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/3.102, allocations: 107.3 kB / 1.648 GB, free: 34.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/3.102, allocations: 0 / 1.648 GB, free: 34.57 MB / 0.698 GB Notification: Performance of Templates: time 0.04323/3.145, allocations: 27.63 MB / 1.675 GB, free: 7.383 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe 2>&1)