Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2") [/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.6397/0.6397, allocations: 117.9 MB / 133.9 MB, free: 4.527 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.001117/0.001117, allocations: 193.1 kB / 161.7 MB, free: 2.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.000788/0.0007878, allocations: 96.41 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 12 kB / 0.5423 GB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4015, allocations: 74.54 MB / 0.6151 GB, free: 54.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.789/1.191, allocations: 370.7 MB / 0.9772 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.191, allocations: 102.1 kB / 0.9773 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.72/2.911, allocations: 482 MB / 1.448 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.459e-06/2.911, allocations: 4 kB / 1.448 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000376/2.912, allocations: 36.17 kB / 1.448 GB, free: 42.32 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00677/2.919, allocations: 1.952 MB / 1.45 GB, free: 40.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/2.919, allocations: 8.031 kB / 1.45 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/2.921, allocations: 278.8 kB / 1.45 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00616/2.927, allocations: 2.052 MB / 1.452 GB, free: 37.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/2.927, allocations: 66.38 kB / 1.452 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/2.927, allocations: 88.28 kB / 1.452 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/2.93, allocations: 1.109 MB / 1.453 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.449e-05/2.93, allocations: 7.938 kB / 1.453 GB, free: 36.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/2.93, allocations: 32 kB / 1.453 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/2.93, allocations: 20 kB / 1.453 GB, free: 36.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/2.933, allocations: 0.8585 MB / 1.454 GB, free: 35.69 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.006068/2.939, allocations: 4.722 MB / 1.459 GB, free: 30.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/2.941, allocations: 0.7166 MB / 1.46 GB, free: 29.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/2.942, allocations: 312.8 kB / 1.46 GB, free: 29.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002254/2.944, allocations: 1.601 MB / 1.461 GB, free: 27.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/2.945, allocations: 486.7 kB / 1.462 GB, free: 27.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005633/2.946, allocations: 103.5 kB / 1.462 GB, free: 27.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 3.898e-06/2.946, allocations: 0 / 1.462 GB, free: 27.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.007548/2.953, allocations: 1.695 MB / 1.464 GB, free: 25.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/2.954, allocations: 63.38 kB / 1.464 GB, free: 25.51 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/2.955, allocations: 1.246 MB / 1.465 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.974e-05/2.955, allocations: 37.7 kB / 1.465 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/2.956, allocations: 0.6451 MB / 1.466 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/2.956, allocations: 157.9 kB / 1.466 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/2.956, allocations: 8 kB / 1.466 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/2.956, allocations: 334 kB / 1.466 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/2.956, allocations: 285.4 kB / 1.466 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/2.957, allocations: 0.6086 MB / 1.467 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/2.959, allocations: 0.8438 MB / 1.468 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/2.959, allocations: 4 kB / 1.468 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005275/2.964, allocations: 1.378 MB / 1.469 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/2.964, allocations: 352.5 kB / 1.469 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/2.964, allocations: 8 kB / 1.469 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/2.965, allocations: 239.9 kB / 1.47 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/2.965, allocations: 139.8 kB / 1.47 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009148/2.975, allocations: 3.742 MB / 1.473 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/2.976, allocations: 87.84 kB / 1.474 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/2.976, allocations: 47.97 kB / 1.474 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/2.976, allocations: 4 kB / 1.474 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001478/2.978, allocations: 0.9015 MB / 1.475 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/2.978, allocations: 8.031 kB / 1.475 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/2.978, allocations: 108.8 kB / 1.475 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/2.978, allocations: 139.7 kB / 1.475 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/2.98, allocations: 2.154 MB / 1.477 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/2.981, allocations: 71.86 kB / 1.477 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/2.981, allocations: 39.98 kB / 1.477 GB, free: 11.22 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (71): * Single equations (assignments): 68 * 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.001054/2.982, allocations: 483.7 kB / 1.477 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/2.983, allocations: 126.4 kB / 1.478 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/2.987, allocations: 1.156 MB / 1.479 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/2.987, allocations: 7.984 kB / 1.479 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/2.987, allocations: 0 / 1.479 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00354/2.99, allocations: 1.138 MB / 1.48 GB, free: 8.238 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.00549/2.996, allocations: 2.074 MB / 1.482 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/2.996, allocations: 3.938 kB / 1.482 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/2.996, allocations: 75.88 kB / 1.482 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005844/2.997, allocations: 224.6 kB / 1.482 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/2.997, allocations: 15.98 kB / 1.482 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008385/3.005, allocations: 3.405 MB / 1.485 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/3.005, allocations: 3.938 kB / 1.485 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/3.01, allocations: 1.484 MB / 1.487 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/3.011, allocations: 275.3 kB / 1.487 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/3.011, allocations: 12 kB / 1.487 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007074/3.012, allocations: 67.89 kB / 1.487 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/3.012, allocations: 48.36 kB / 1.487 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/3.012, allocations: 31.97 kB / 1.487 GB, free: 284 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.4517/3.464, allocations: 0.8566 MB / 1.488 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.31e-07/3.464, allocations: 0 / 1.488 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004749/3.468, allocations: 0.7854 MB / 1.489 GB, free: 120.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001958/3.47, allocations: 0.7519 MB / 1.49 GB, free: 120 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005022/3.475, allocations: 1.603 MB / 1.491 GB, free: 119.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/3.475, allocations: 1.5 kB / 1.491 GB, free: 119.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/3.478, allocations: 0.5778 MB / 1.492 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/3.481, allocations: 0.5551 MB / 1.492 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/3.486, allocations: 2.672 MB / 1.495 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009121/3.486, allocations: 1.277 MB / 1.496 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001479/3.488, allocations: 300.6 kB / 1.496 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/3.488, allocations: 103.3 kB / 1.497 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/3.488, allocations: 0 / 1.497 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.05371/3.542, allocations: 32.11 MB / 1.528 GB, free: 116.9 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)