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.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.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") [/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.6749/0.6749, allocations: 117.9 MB / 133.9 MB, free: 4.496 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.001003/0.001002, allocations: 183.4 kB / 161.7 MB, free: 2.707 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.718/1.718, 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.0008143/0.0008146, allocations: 94.16 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004227, allocations: 15.94 kB / 0.5423 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3551, allocations: 74.53 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.12/5.475, allocations: 2.387 GB / 3.002 GB, free: 241.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/5.476, allocations: 96 kB / 3.002 GB, free: 241.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.715/7.191, allocations: 0.5817 GB / 3.584 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/7.191, allocations: 0 / 3.584 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001733/7.191, allocations: 39.09 kB / 3.584 GB, free: 122.7 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003807/7.195, allocations: 1.524 MB / 3.585 GB, free: 122 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/7.195, allocations: 9.906 kB / 3.585 GB, free: 122 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/7.198, allocations: 0.5832 MB / 3.586 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/7.201, allocations: 0.9701 MB / 3.587 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/7.201, allocations: 60.28 kB / 3.587 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/7.201, allocations: 77.59 kB / 3.587 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/7.204, allocations: 1.092 MB / 3.588 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/7.204, allocations: 3.281 kB / 3.588 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.564e-05/7.204, allocations: 37.12 kB / 3.588 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/7.204, allocations: 20.23 kB / 3.588 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/7.207, allocations: 0.9984 MB / 3.589 GB, free: 121.2 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.005495/7.212, allocations: 4.878 MB / 3.594 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/7.215, allocations: 0.8927 MB / 3.595 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/7.216, allocations: 464.6 kB / 3.595 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009974/7.217, allocations: 1.592 MB / 3.597 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/7.218, allocations: 0.5621 MB / 3.597 GB, free: 116.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=55): time 3.857e-06/7.218, allocations: 0 / 3.597 GB, free: 116.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55): time 0.003947/7.222, allocations: 1.456 MB / 3.599 GB, free: 116.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/7.222, allocations: 59.67 kB / 3.599 GB, free: 116.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/7.224, allocations: 1.141 MB / 3.6 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/7.224, allocations: 37.14 kB / 3.6 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/7.224, allocations: 0.5707 MB / 3.6 GB, free: 115.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/7.224, allocations: 190 kB / 3.601 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/7.224, allocations: 16.75 kB / 3.601 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.032e-05/7.225, allocations: 341.3 kB / 3.601 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/7.226, allocations: 440 kB / 3.601 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/7.227, allocations: 0.7726 MB / 3.602 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/7.229, allocations: 1.109 MB / 3.603 GB, free: 114.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/7.229, allocations: 7.844 kB / 3.603 GB, free: 114.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003096/7.233, allocations: 1.277 MB / 3.604 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/7.233, allocations: 7.281 kB / 3.604 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/7.233, allocations: 7.312 kB / 3.604 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/7.233, allocations: 10.91 kB / 3.604 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/7.234, allocations: 278.7 kB / 3.605 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/7.234, allocations: 18.16 kB / 3.605 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/7.235, allocations: 213.9 kB / 3.605 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/7.235, allocations: 54.89 kB / 3.605 GB, free: 114.5 MB / 0.6355 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.0005558/7.236, allocations: 294.9 kB / 3.605 GB, free: 114.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/7.236, allocations: 122.2 kB / 3.605 GB, free: 114.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/7.239, allocations: 1.392 MB / 3.607 GB, free: 114 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/7.239, allocations: 10.72 kB / 3.607 GB, free: 114 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/7.239, allocations: 0 / 3.607 GB, free: 114 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/7.239, allocations: 3.609 kB / 3.607 GB, free: 114 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/7.24, allocations: 0.9034 MB / 3.608 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/7.241, allocations: 0 / 3.608 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/7.241, allocations: 184.7 kB / 3.608 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/7.241, allocations: 2.469 kB / 3.608 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/7.241, allocations: 29.53 kB / 3.608 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/7.241, allocations: 3.938 kB / 3.608 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/7.241, allocations: 0 / 3.608 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/7.245, allocations: 1.658 MB / 3.609 GB, free: 113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/7.246, allocations: 245 kB / 3.61 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/7.246, allocations: 15.78 kB / 3.61 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/7.247, allocations: 123.5 kB / 3.61 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/7.247, allocations: 40.17 kB / 3.61 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/7.247, allocations: 27.61 kB / 3.61 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00102/7.248, allocations: 0.8515 MB / 3.611 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/7.248, allocations: 3.156 kB / 3.611 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001208/7.249, allocations: 385.1 kB / 3.611 GB, free: 112.4 MB / 0.6355 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.001556/7.251, allocations: 0.8192 MB / 3.612 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002654/7.253, allocations: 1.052 MB / 3.613 GB, free: 112 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/7.253, allocations: 0 / 3.613 GB, free: 112 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/7.255, allocations: 0.4973 MB / 3.613 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/7.257, allocations: 423.8 kB / 3.614 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/7.26, allocations: 2.576 MB / 3.616 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/7.261, allocations: 1.112 MB / 3.617 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009891/7.262, allocations: 248.2 kB / 3.618 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/7.262, allocations: 108.3 kB / 3.618 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/7.262, allocations: 0 / 3.618 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.03035/7.292, allocations: 21.49 MB / 3.639 GB, free: 99.82 MB / 0.6355 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)