Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8086/0.8086, allocations: 128.8 MB / 143.7 MB, free: 2.312 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.001152/0.001152, allocations: 180.4 kB / 173.8 MB, free: 6.117 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.65/1.65, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009359/0.000936, allocations: 94.78 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 9.938 kB / 0.5603 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.144/5.287, allocations: 2.388 GB / 3.023 GB, free: 236 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/5.287, allocations: 94.5 kB / 3.023 GB, free: 236 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.742/7.029, allocations: 0.585 GB / 3.608 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.262e-06/7.029, allocations: 0 / 3.608 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001042/7.029, allocations: 36.97 kB / 3.608 GB, free: 121.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003186/7.033, allocations: 1.538 MB / 3.61 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/7.033, allocations: 10.66 kB / 3.61 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/7.036, allocations: 0.5802 MB / 3.61 GB, free: 121 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/7.038, allocations: 0.9352 MB / 3.611 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/7.038, allocations: 59.03 kB / 3.611 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/7.038, allocations: 79.44 kB / 3.611 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/7.04, allocations: 1.082 MB / 3.612 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/7.04, allocations: 6.969 kB / 3.612 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.994e-05/7.041, allocations: 27 kB / 3.612 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/7.041, allocations: 19.66 kB / 3.612 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/7.043, allocations: 1.005 MB / 3.613 GB, free: 120.4 MB / 0.6511 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.00583/7.049, allocations: 4.878 MB / 3.618 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/7.052, allocations: 0.8903 MB / 3.619 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009872/7.053, allocations: 1.594 MB / 3.621 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/7.054, allocations: 0.5597 MB / 3.621 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=55): time 3.747e-06/7.054, allocations: 0 / 3.621 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55): time 0.004269/7.058, allocations: 1.453 MB / 3.623 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/7.058, allocations: 60.28 kB / 3.623 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/7.06, allocations: 1.009 MB / 3.624 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/7.06, allocations: 41.95 kB / 3.624 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/7.06, allocations: 0.5706 MB / 3.624 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/7.061, allocations: 190.6 kB / 3.624 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/7.061, allocations: 15.12 kB / 3.624 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/7.061, allocations: 343.7 kB / 3.625 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/7.062, allocations: 452.4 kB / 3.625 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/7.063, allocations: 0.7611 MB / 3.626 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/7.065, allocations: 498.6 kB / 3.626 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/7.065, allocations: 3 kB / 3.626 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003225/7.068, allocations: 1.276 MB / 3.628 GB, free: 114 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/7.068, allocations: 7.094 kB / 3.628 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/7.068, allocations: 7.844 kB / 3.628 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/7.068, allocations: 13.97 kB / 3.628 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/7.069, allocations: 285.6 kB / 3.628 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/7.069, allocations: 14.19 kB / 3.628 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/7.071, allocations: 222 kB / 3.628 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/7.071, allocations: 47.92 kB / 3.628 GB, free: 113.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006689/7.072, allocations: 294.2 kB / 3.629 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/7.072, allocations: 120.7 kB / 3.629 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/7.075, allocations: 1.388 MB / 3.63 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/7.075, allocations: 3.969 kB / 3.63 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/7.075, allocations: 3.969 kB / 3.63 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/7.075, allocations: 5.516 kB / 3.63 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/7.076, allocations: 0.9122 MB / 3.631 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/7.076, allocations: 0 / 3.631 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/7.077, allocations: 179.9 kB / 3.631 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/7.077, allocations: 2.562 kB / 3.631 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/7.077, allocations: 23.53 kB / 3.631 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/7.077, allocations: 5.688 kB / 3.631 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/7.077, allocations: 1.031 kB / 3.631 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/7.081, allocations: 1.656 MB / 3.633 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/7.082, allocations: 240.5 kB / 3.633 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/7.082, allocations: 15.59 kB / 3.633 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009972/7.083, allocations: 127.5 kB / 3.633 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/7.083, allocations: 41.62 kB / 3.633 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/7.083, allocations: 25.91 kB / 3.633 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001155/7.085, allocations: 0.8557 MB / 3.634 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/7.085, allocations: 0 / 3.634 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001347/7.086, allocations: 391.5 kB / 3.634 GB, free: 112.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/7.088, allocations: 0.8294 MB / 3.635 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002912/7.091, allocations: 1.041 MB / 3.636 GB, free: 112 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/7.091, allocations: 0 / 3.636 GB, free: 112 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/7.092, allocations: 0.5004 MB / 3.637 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/7.094, allocations: 416.4 kB / 3.637 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/7.099, allocations: 2.574 MB / 3.64 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/7.1, allocations: 1.134 MB / 3.641 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001239/7.101, allocations: 236.7 kB / 3.641 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/7.101, allocations: 113.3 kB / 3.641 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/7.101, allocations: 0 / 3.641 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.03245/7.134, allocations: 21.21 MB / 3.662 GB, free: 103.1 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)