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.7316/0.7316, allocations: 127.3 MB / 139.8 MB, free: 15.43 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.001122/0.001122, allocations: 192.8 kB / 169.7 MB, free: 1.734 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.607/1.607, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.000884/0.0008838, allocations: 83.5 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.173e-05, allocations: 8 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1674, allocations: 76.75 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.497/6.665, allocations: 2.388 GB / 3.016 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/6.665, allocations: 91.23 kB / 3.016 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.116/8.781, allocations: 0.583 GB / 3.599 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.335e-06/8.781, allocations: 0 / 3.599 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001202/8.781, allocations: 46.5 kB / 3.599 GB, free: 111.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.002657/8.784, allocations: 1.324 MB / 3.6 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/8.784, allocations: 14.03 kB / 3.6 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/8.787, allocations: 0.5804 MB / 3.601 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/8.789, allocations: 0.9284 MB / 3.602 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/8.789, allocations: 56.59 kB / 3.602 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/8.789, allocations: 81.66 kB / 3.602 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/8.791, allocations: 0.8909 MB / 3.603 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/8.791, allocations: 3.938 kB / 3.603 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/8.791, allocations: 27.75 kB / 3.603 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/8.791, allocations: 17.84 kB / 3.603 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009689/8.792, allocations: 0.633 MB / 3.603 GB, free: 108.9 MB / 0.6511 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.004971/8.797, allocations: 4.866 MB / 3.608 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/8.798, allocations: 0.5127 MB / 3.609 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/8.798, allocations: 268.1 kB / 3.609 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/8.8, allocations: 1.602 MB / 3.611 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007112/8.8, allocations: 385.9 kB / 3.611 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=55): time 4.929e-06/8.8, allocations: 0 / 3.611 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55): time 0.00164/8.802, allocations: 0.6746 MB / 3.612 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/8.802, allocations: 59.59 kB / 3.612 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/8.803, allocations: 0.9953 MB / 3.613 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.613e-05/8.804, allocations: 41.42 kB / 3.613 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/8.804, allocations: 0.5766 MB / 3.613 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/8.804, allocations: 196.9 kB / 3.613 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/8.804, allocations: 15.69 kB / 3.613 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001183/8.804, allocations: 337.1 kB / 3.614 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/8.805, allocations: 261 kB / 3.614 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/8.806, allocations: 0.5777 MB / 3.615 GB, free: 99.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/8.806, allocations: 311.7 kB / 3.615 GB, free: 99.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/8.806, allocations: 7.469 kB / 3.615 GB, free: 99.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001424/8.807, allocations: 0.9008 MB / 3.616 GB, free: 99.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/8.807, allocations: 9.812 kB / 3.616 GB, free: 99.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/8.808, allocations: 6.562 kB / 3.616 GB, free: 99.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/8.808, allocations: 15.22 kB / 3.616 GB, free: 99.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/8.809, allocations: 275.4 kB / 3.616 GB, free: 98.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/8.809, allocations: 13.69 kB / 3.616 GB, free: 98.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/8.81, allocations: 218.1 kB / 3.616 GB, free: 98.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/8.81, allocations: 52.19 kB / 3.616 GB, free: 98.85 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 () * 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.0001738/8.81, allocations: 168.3 kB / 3.616 GB, free: 98.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/8.81, allocations: 120.2 kB / 3.617 GB, free: 98.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/8.812, allocations: 1.024 MB / 3.618 GB, free: 98.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/8.812, allocations: 11.59 kB / 3.618 GB, free: 98.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/8.812, allocations: 0 / 3.618 GB, free: 98.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/8.812, allocations: 3.984 kB / 3.618 GB, free: 98.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/8.813, allocations: 0.8964 MB / 3.618 GB, free: 97.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/8.813, allocations: 2.969 kB / 3.618 GB, free: 97.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/8.814, allocations: 186.7 kB / 3.619 GB, free: 97.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/8.814, allocations: 3.438 kB / 3.619 GB, free: 97.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/8.814, allocations: 15.86 kB / 3.619 GB, free: 97.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/8.814, allocations: 0 / 3.619 GB, free: 97.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/8.814, allocations: 2.969 kB / 3.619 GB, free: 97.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/8.816, allocations: 1.116 MB / 3.62 GB, free: 96.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/8.816, allocations: 238.4 kB / 3.62 GB, free: 96.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/8.816, allocations: 13.97 kB / 3.62 GB, free: 96.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008769/8.817, allocations: 131.4 kB / 3.62 GB, free: 96.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/8.817, allocations: 36.34 kB / 3.62 GB, free: 96.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/8.817, allocations: 23.8 kB / 3.62 GB, free: 96.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009227/8.818, allocations: 0.8445 MB / 3.621 GB, free: 95.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/8.818, allocations: 0 / 3.621 GB, free: 95.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001268/8.82, allocations: 391.5 kB / 3.621 GB, free: 95.42 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) * 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.001607/8.821, allocations: 0.7774 MB / 3.622 GB, free: 94.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001133/8.822, allocations: 0.685 MB / 3.623 GB, free: 94.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/8.822, allocations: 0 / 3.623 GB, free: 94.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004328/8.823, allocations: 322.7 kB / 3.623 GB, free: 93.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/8.825, allocations: 404.7 kB / 3.624 GB, free: 93.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/8.827, allocations: 1.641 MB / 3.625 GB, free: 91.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/8.828, allocations: 1.127 MB / 3.626 GB, free: 90.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009614/8.829, allocations: 244.7 kB / 3.626 GB, free: 90.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/8.829, allocations: 107.4 kB / 3.627 GB, free: 90.45 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/8.829, allocations: 0 / 3.627 GB, free: 90.45 MB / 0.6511 GB Notification: Performance of Templates: time 0.03044/8.859, allocations: 21.67 MB / 3.648 GB, free: 69.32 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)