Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.4 MB / 304.3 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 175.2 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 0.6317 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001172, allocations: 100.9 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004277, allocations: 11.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9989/1.241, allocations: 404.5 MB / 1.376 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.241, allocations: 96.52 kB / 1.376 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2/3.241, allocations: 476.8 MB / 1.841 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.864e-06/3.241, allocations: 3.594 kB / 1.841 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001668/3.241, allocations: 41.38 kB / 1.841 GB, free: 225.9 MB / 0.9323 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.004186/3.246, allocations: 1.945 MB / 1.843 GB, free: 225 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/3.246, allocations: 10.59 kB / 1.843 GB, free: 225 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/3.247, allocations: 239.2 kB / 1.844 GB, free: 225 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/3.25, allocations: 1.926 MB / 1.845 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/3.251, allocations: 69.56 kB / 1.846 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/3.251, allocations: 93.22 kB / 1.846 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/3.252, allocations: 0.9557 MB / 1.847 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/3.252, allocations: 15.12 kB / 1.847 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/3.252, allocations: 33.09 kB / 1.847 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/3.252, allocations: 18.31 kB / 1.847 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/3.254, allocations: 0.7097 MB / 1.847 GB, free: 224.3 MB / 0.9323 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.005123/3.259, allocations: 4.701 MB / 1.852 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/3.26, allocations: 0.6015 MB / 1.853 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/3.26, allocations: 318.8 kB / 1.853 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002361/3.263, allocations: 1.7 MB / 1.854 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005719/3.263, allocations: 341.3 kB / 1.855 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004839/3.264, allocations: 109.6 kB / 1.855 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=46): time 4.769e-06/3.264, allocations: 0 / 1.855 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.002788/3.267, allocations: 1.174 MB / 1.856 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/3.267, allocations: 62.47 kB / 1.856 GB, free: 220.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/3.268, allocations: 1.246 MB / 1.857 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/3.268, allocations: 42.86 kB / 1.857 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/3.269, allocations: 0.6427 MB / 1.858 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/3.269, allocations: 156.3 kB / 1.858 GB, free: 220 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/3.269, allocations: 14.28 kB / 1.858 GB, free: 220 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/3.269, allocations: 330.4 kB / 1.858 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/3.27, allocations: 240.1 kB / 1.859 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/3.27, allocations: 0.5806 MB / 1.859 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/3.271, allocations: 0.7694 MB / 1.86 GB, free: 219 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/3.271, allocations: 2.812 kB / 1.86 GB, free: 219 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001911/3.273, allocations: 1.043 MB / 1.861 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/3.273, allocations: 347 kB / 1.861 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/3.273, allocations: 7.75 kB / 1.861 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/3.274, allocations: 180.5 kB / 1.862 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/3.274, allocations: 149.7 kB / 1.862 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005721/3.275, allocations: 0.769 MB / 1.862 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/3.276, allocations: 80.64 kB / 1.863 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/3.276, allocations: 42.83 kB / 1.863 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/3.276, allocations: 3.625 kB / 1.863 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001437/3.278, allocations: 0.9101 MB / 1.863 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/3.278, allocations: 7.438 kB / 1.863 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/3.278, allocations: 104.5 kB / 1.864 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/3.278, allocations: 143.2 kB / 1.864 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/3.28, allocations: 2.208 MB / 1.866 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009415/3.281, allocations: 83.28 kB / 1.866 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/3.281, allocations: 36.91 kB / 1.866 GB, free: 216.2 MB / 0.9323 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.0008949/3.282, allocations: 484.4 kB / 1.866 GB, free: 216 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/3.282, allocations: 126.3 kB / 1.867 GB, free: 216 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/3.284, allocations: 0.8865 MB / 1.867 GB, free: 215.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/3.284, allocations: 12.14 kB / 1.867 GB, free: 215.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/3.284, allocations: 3.938 kB / 1.867 GB, free: 215.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/3.285, allocations: 0.8763 MB / 1.868 GB, free: 215.5 MB / 0.9323 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.002925/3.288, allocations: 1.872 MB / 1.87 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/3.288, allocations: 3.719 kB / 1.87 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/3.288, allocations: 88.38 kB / 1.87 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/3.289, allocations: 124.8 kB / 1.87 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/3.289, allocations: 11.64 kB / 1.87 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004566/3.289, allocations: 0.7491 MB / 1.871 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/3.289, allocations: 4.578 kB / 1.871 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/3.291, allocations: 1.208 MB / 1.872 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006127/3.292, allocations: 266.2 kB / 1.873 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/3.292, allocations: 13 kB / 1.873 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006212/3.293, allocations: 71.94 kB / 1.873 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/3.293, allocations: 41.33 kB / 1.873 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/3.293, allocations: 22.7 kB / 1.873 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001269/3.294, allocations: 0.8568 MB / 1.873 GB, free: 214 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/3.294, allocations: 0 / 1.873 GB, free: 214 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002753/3.297, allocations: 0.7142 MB / 1.874 GB, free: 213.9 MB / 0.9323 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.001587/3.298, allocations: 0.7621 MB / 1.875 GB, free: 213.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002824/3.301, allocations: 1.306 MB / 1.876 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/3.301, allocations: 0 / 1.876 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006829/3.302, allocations: 329.1 kB / 1.877 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/3.305, allocations: 0.5654 MB / 1.877 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/3.309, allocations: 2.669 MB / 1.88 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/3.309, allocations: 1.269 MB / 1.881 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001365/3.311, allocations: 306.5 kB / 1.881 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/3.311, allocations: 100.1 kB / 1.881 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/3.311, allocations: 0 / 1.881 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.04268/3.354, allocations: 27.76 MB / 1.908 GB, free: 210.1 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)