Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6819/0.6819, allocations: 117.9 MB / 133.9 MB, free: 9.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009521/0.0009522, allocations: 184 kB / 161.7 MB, free: 13.99 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 394.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008285/0.0008285, allocations: 91.22 kB / 470.1 MB, free: 29.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003944, allocations: 16 kB / 0.5423 GB, free: 9.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 74.53 MB / 0.6151 GB, free: 15.19 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.357, allocations: 370.7 MB / 0.9771 GB, free: 155 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.357, allocations: 96.55 kB / 0.9772 GB, free: 154.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.531/3.888, allocations: 0.6912 GB / 1.668 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.705e-06/3.888, allocations: 0 / 1.668 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004536/3.888, allocations: 56.48 kB / 1.668 GB, free: 106.9 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.009493/3.898, allocations: 2.414 MB / 1.671 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/3.898, allocations: 9.688 kB / 1.671 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/3.9, allocations: 331 kB / 1.671 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00873/3.909, allocations: 2.662 MB / 1.674 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/3.909, allocations: 79.03 kB / 1.674 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004737/3.91, allocations: 108.8 kB / 1.674 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004591/3.915, allocations: 1.401 MB / 1.675 GB, free: 105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/3.915, allocations: 4.469 kB / 1.675 GB, free: 105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/3.915, allocations: 38.84 kB / 1.675 GB, free: 105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/3.915, allocations: 29.64 kB / 1.675 GB, free: 105 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/3.918, allocations: 1.095 MB / 1.676 GB, free: 105 MB / 0.6355 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.009354/3.928, allocations: 6.685 MB / 1.683 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/3.93, allocations: 0.7318 MB / 1.684 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/3.931, allocations: 390.1 kB / 1.684 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/3.934, allocations: 1.509 MB / 1.686 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/3.936, allocations: 0.5056 MB / 1.686 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001166/3.937, allocations: 128.6 kB / 1.686 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 6.783e-06/3.937, allocations: 0.5312 kB / 1.686 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.008932/3.946, allocations: 1.832 MB / 1.688 GB, free: 99.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/3.946, allocations: 57.09 kB / 1.688 GB, free: 99.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/3.951, allocations: 1.748 MB / 1.69 GB, free: 99.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002042/3.951, allocations: 43.42 kB / 1.69 GB, free: 99.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/3.952, allocations: 0.8698 MB / 1.691 GB, free: 99.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/3.952, allocations: 158.9 kB / 1.691 GB, free: 99.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/3.952, allocations: 14.38 kB / 1.691 GB, free: 99.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/3.952, allocations: 339.7 kB / 1.691 GB, free: 98.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008996/3.953, allocations: 328.5 kB / 1.691 GB, free: 98.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/3.954, allocations: 0.7661 MB / 1.692 GB, free: 98.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/3.956, allocations: 1.01 MB / 1.693 GB, free: 97.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/3.956, allocations: 3.906 kB / 1.693 GB, free: 97.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00667/3.963, allocations: 1.565 MB / 1.695 GB, free: 97.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002994/3.963, allocations: 435.1 kB / 1.695 GB, free: 97.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/3.963, allocations: 10.44 kB / 1.695 GB, free: 97.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008877/3.964, allocations: 239.9 kB / 1.695 GB, free: 97.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/3.965, allocations: 160.8 kB / 1.695 GB, free: 97.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009923/3.975, allocations: 3.737 MB / 1.699 GB, free: 95.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/3.977, allocations: 113.3 kB / 1.699 GB, free: 95.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/3.977, allocations: 49.98 kB / 1.699 GB, free: 95.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/3.977, allocations: 8.812 kB / 1.699 GB, free: 95.81 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002329/3.98, allocations: 1.053 MB / 1.7 GB, free: 95.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/3.98, allocations: 20.97 kB / 1.7 GB, free: 95.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/3.98, allocations: 120.7 kB / 1.7 GB, free: 95.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/3.981, allocations: 156.9 kB / 1.701 GB, free: 95.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/3.983, allocations: 2.123 MB / 1.703 GB, free: 94.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/3.984, allocations: 97.14 kB / 1.703 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/3.984, allocations: 42.44 kB / 1.703 GB, free: 94.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.00134/3.986, allocations: 0.5925 MB / 1.703 GB, free: 94.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/3.986, allocations: 174 kB / 1.704 GB, free: 93.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/3.991, allocations: 1.267 MB / 1.705 GB, free: 93.83 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/3.991, allocations: 3.688 kB / 1.705 GB, free: 93.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/3.991, allocations: 0 / 1.705 GB, free: 93.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003672/3.995, allocations: 1.208 MB / 1.706 GB, free: 93.45 MB / 0.6355 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.007659/4.003, allocations: 2.41 MB / 1.708 GB, free: 93.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/4.003, allocations: 0 / 1.708 GB, free: 93.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/4.003, allocations: 84.03 kB / 1.708 GB, free: 93.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000633/4.004, allocations: 220 kB / 1.709 GB, free: 93.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/4.004, allocations: 16.05 kB / 1.709 GB, free: 93.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008064/4.012, allocations: 3.365 MB / 1.712 GB, free: 91.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/4.012, allocations: 3.969 kB / 1.712 GB, free: 91.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005387/4.017, allocations: 1.651 MB / 1.714 GB, free: 90.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/4.019, allocations: 311.6 kB / 1.714 GB, free: 90.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006759/4.019, allocations: 11.62 kB / 1.714 GB, free: 90.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/4.021, allocations: 83.95 kB / 1.714 GB, free: 90.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/4.021, allocations: 50.91 kB / 1.714 GB, free: 90.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.705e-05/4.021, allocations: 26.05 kB / 1.714 GB, free: 90.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002589/4.024, allocations: 1.216 MB / 1.715 GB, free: 89.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/4.024, allocations: 0 / 1.715 GB, free: 89.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005337/4.029, allocations: 0.9378 MB / 1.716 GB, free: 89.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/4.031, allocations: 0.7814 MB / 1.717 GB, free: 89.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003802/4.035, allocations: 1.684 MB / 1.718 GB, free: 88.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/4.035, allocations: 3.609 kB / 1.718 GB, free: 88.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/4.036, allocations: 0.5319 MB / 1.719 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004584/4.041, allocations: 0.7328 MB / 1.72 GB, free: 88.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006375/4.047, allocations: 3.397 MB / 1.723 GB, free: 86.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/4.048, allocations: 1.508 MB / 1.725 GB, free: 85.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002009/4.05, allocations: 434.4 kB / 1.725 GB, free: 85.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/4.051, allocations: 127.4 kB / 1.725 GB, free: 85.67 MB / 0.6355 GB Notification: Performance of SimCode: time 1.472e-06/4.051, allocations: 0 / 1.725 GB, free: 85.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.06366/4.114, allocations: 38.74 MB / 1.763 GB, free: 79.13 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)