Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8612/0.8612, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.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: 192.7 kB / 169.7 MB, free: 1.746 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.72/1.72, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.0009401/0.0009402, allocations: 91.16 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.457e-05, allocations: 0 / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1723, allocations: 76.75 MB / 0.6281 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/1.656, allocations: 390 MB / 1.009 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.656, allocations: 96 kB / 1.009 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.075/6.731, allocations: 1.319 GB / 2.328 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/6.731, allocations: 5.281 kB / 2.328 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006797/6.732, allocations: 93.2 kB / 2.328 GB, free: 90.15 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.01322/6.745, allocations: 3.086 MB / 2.331 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/6.745, allocations: 11.97 kB / 2.331 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/6.749, allocations: 0.5725 MB / 2.332 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/6.763, allocations: 4.484 MB / 2.336 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/6.763, allocations: 134.6 kB / 2.336 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005921/6.764, allocations: 185.3 kB / 2.336 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007968/6.772, allocations: 2.708 MB / 2.339 GB, free: 87.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.295e-05/6.772, allocations: 3.938 kB / 2.339 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/6.772, allocations: 65.75 kB / 2.339 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/6.772, allocations: 42.12 kB / 2.339 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006567/6.779, allocations: 2.217 MB / 2.341 GB, free: 87.38 MB / 0.6823 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.01562/6.795, allocations: 11.52 MB / 2.353 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/6.8, allocations: 1.706 MB / 2.354 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/6.801, allocations: 0.88 MB / 2.355 GB, free: 78.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006303/6.808, allocations: 3.326 MB / 2.358 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004784/6.812, allocations: 1.271 MB / 2.36 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003167/6.816, allocations: 0.6035 MB / 2.36 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 5.831e-06/6.816, allocations: 0 / 2.36 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.02059/6.836, allocations: 3.738 MB / 2.364 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/6.836, allocations: 114.2 kB / 2.364 GB, free: 74.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/6.841, allocations: 2.439 MB / 2.366 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005107/6.841, allocations: 57.42 kB / 2.366 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/6.842, allocations: 1.45 MB / 2.368 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/6.843, allocations: 344.1 kB / 2.368 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/6.843, allocations: 27.72 kB / 2.368 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000106/6.843, allocations: 363 kB / 2.369 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009675/6.844, allocations: 0.6474 MB / 2.369 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/6.845, allocations: 1.419 MB / 2.371 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/6.847, allocations: 0.8508 MB / 2.371 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/6.847, allocations: 3.25 kB / 2.371 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01443/6.861, allocations: 3.52 MB / 2.375 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001611/6.863, allocations: 6.112 MB / 2.381 GB, free: 62.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/6.863, allocations: 11.81 kB / 2.381 GB, free: 62.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/6.864, allocations: 0.781 MB / 2.382 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/6.866, allocations: 271.2 kB / 2.382 GB, free: 62.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/6.87, allocations: 2.594 MB / 2.384 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/6.874, allocations: 222.1 kB / 2.385 GB, free: 60.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/6.874, allocations: 92.98 kB / 2.385 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/6.874, allocations: 7.531 kB / 2.385 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003267/6.877, allocations: 2.11 MB / 2.387 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/6.877, allocations: 16.56 kB / 2.387 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008645/6.878, allocations: 483.2 kB / 2.387 GB, free: 59.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009446/6.879, allocations: 266.6 kB / 2.387 GB, free: 59.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/6.885, allocations: 5.826 MB / 2.393 GB, free: 54.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/6.888, allocations: 176.2 kB / 2.393 GB, free: 54.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/6.889, allocations: 75.64 kB / 2.393 GB, free: 54.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (132): * Single equations (assignments): 128 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006865/6.889, allocations: 197.2 kB / 2.394 GB, free: 53.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/6.89, allocations: 292.3 kB / 2.394 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/6.903, allocations: 3.253 MB / 2.397 GB, free: 50.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/6.903, allocations: 15.98 kB / 2.397 GB, free: 50.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/6.903, allocations: 4 kB / 2.397 GB, free: 50.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01223/6.916, allocations: 2.952 MB / 2.4 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/6.933, allocations: 5.246 MB / 2.405 GB, free: 42.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/6.934, allocations: 0 / 2.405 GB, free: 42.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/6.934, allocations: 133.4 kB / 2.405 GB, free: 42.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/6.936, allocations: 0.7445 MB / 2.406 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/6.936, allocations: 35.95 kB / 2.406 GB, free: 41.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02635/6.962, allocations: 10.41 MB / 2.416 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/6.962, allocations: 0 / 2.416 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/6.977, allocations: 4.06 MB / 2.42 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/6.98, allocations: 0.4933 MB / 2.421 GB, free: 26.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007741/6.981, allocations: 24 kB / 2.421 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/6.983, allocations: 191.5 kB / 2.421 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004728/6.983, allocations: 104.8 kB / 2.421 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/6.983, allocations: 47.94 kB / 2.421 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002858/6.986, allocations: 1.902 MB / 2.423 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/6.986, allocations: 8 kB / 2.423 GB, free: 23.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006777/6.993, allocations: 1.567 MB / 2.424 GB, free: 22.26 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (56): * Single equations (assignments): 49 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/6.995, allocations: 1.075 MB / 2.425 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006592/7.002, allocations: 3.273 MB / 2.429 GB, free: 18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/7.002, allocations: 0 / 2.429 GB, free: 18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002902/7.005, allocations: 1.34 MB / 2.43 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006847/7.012, allocations: 1.181 MB / 2.431 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/7.024, allocations: 4.464 MB / 2.435 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/7.025, allocations: 2.102 MB / 2.437 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005305/7.03, allocations: 1.473 MB / 2.439 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/7.031, allocations: 143.4 kB / 2.439 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of SimCode: time 1.774e-06/7.031, allocations: 0 / 2.439 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of Templates: time 0.7322/7.763, allocations: 77.06 MB / 2.514 GB, free: 87.88 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)