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.8007/0.8007, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.001143/0.001143, allocations: 172.9 kB / 164.6 MB, free: 11.62 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.554/1.554, allocations: 205.2 MB / 399.5 MB, free: 13.58 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.0009025/0.0009026, allocations: 91.66 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.711e-05, allocations: 5.156 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1399, allocations: 76.77 MB / 0.6215 GB, free: 43.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.141/6.281, allocations: 2.387 GB / 3.009 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/6.281, allocations: 87.69 kB / 3.009 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.888/8.169, allocations: 0.5796 GB / 3.588 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.825e-06/8.169, allocations: 0 / 3.588 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001956/8.169, allocations: 45.61 kB / 3.588 GB, free: 127.2 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.003503/8.173, allocations: 1.335 MB / 3.59 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/8.173, allocations: 7.531 kB / 3.59 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/8.176, allocations: 0.5827 MB / 3.59 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/8.179, allocations: 0.9251 MB / 3.591 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/8.179, allocations: 22.56 kB / 3.591 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/8.179, allocations: 50.88 kB / 3.591 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001326/8.181, allocations: 0.5652 MB / 3.592 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/8.182, allocations: 0.7913 MB / 3.593 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/8.182, allocations: 8.031 kB / 3.593 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/8.182, allocations: 3.906 kB / 3.593 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/8.182, allocations: 19.02 kB / 3.593 GB, free: 125.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.005907/8.188, allocations: 5.606 MB / 3.598 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/8.189, allocations: 0.5919 MB / 3.599 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/8.189, allocations: 223 kB / 3.599 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/8.19, allocations: 0.7794 MB / 3.6 GB, free: 121 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/8.19, allocations: 330.4 kB / 3.6 GB, free: 121 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 3.336e-06/8.19, allocations: 7.344 kB / 3.6 GB, free: 121 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.001404/8.192, allocations: 0.6139 MB / 3.601 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/8.192, allocations: 55.66 kB / 3.601 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/8.193, allocations: 0.8857 MB / 3.601 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.191e-05/8.193, allocations: 29.61 kB / 3.601 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/8.194, allocations: 0.5876 MB / 3.602 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/8.194, allocations: 171.9 kB / 3.602 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/8.194, allocations: 0 / 3.602 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/8.194, allocations: 338.8 kB / 3.603 GB, free: 120 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/8.194, allocations: 247 kB / 3.603 GB, free: 120 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/8.195, allocations: 0.5581 MB / 3.603 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008548/8.196, allocations: 340.6 kB / 3.604 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/8.196, allocations: 3.281 kB / 3.604 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001723/8.197, allocations: 0.8669 MB / 3.605 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/8.197, allocations: 9.781 kB / 3.605 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/8.197, allocations: 10.66 kB / 3.605 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/8.197, allocations: 10.62 kB / 3.605 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/8.199, allocations: 279.2 kB / 3.605 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/8.199, allocations: 18.98 kB / 3.605 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/8.2, allocations: 178 kB / 3.605 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/8.2, allocations: 51.28 kB / 3.605 GB, free: 119.5 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.0001876/8.2, allocations: 144.2 kB / 3.605 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/8.201, allocations: 108.3 kB / 3.605 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/8.202, allocations: 0.8051 MB / 3.606 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/8.202, allocations: 9.812 kB / 3.606 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/8.202, allocations: 0 / 3.606 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/8.202, allocations: 3.516 kB / 3.606 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/8.203, allocations: 0.7978 MB / 3.607 GB, free: 119 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/8.203, allocations: 5.844 kB / 3.607 GB, free: 119 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/8.204, allocations: 185.6 kB / 3.607 GB, free: 119 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/8.204, allocations: 0 / 3.607 GB, free: 119 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/8.204, allocations: 18.59 kB / 3.607 GB, free: 119 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/8.204, allocations: 3.719 kB / 3.607 GB, free: 119 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/8.204, allocations: 2.75 kB / 3.607 GB, free: 119 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/8.206, allocations: 1.077 MB / 3.608 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/8.206, allocations: 217.5 kB / 3.608 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/8.207, allocations: 11.28 kB / 3.608 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009386/8.208, allocations: 116.1 kB / 3.608 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/8.208, allocations: 38.47 kB / 3.608 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/8.208, allocations: 26.59 kB / 3.609 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007779/8.209, allocations: 0.6637 MB / 3.609 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/8.209, allocations: 0 / 3.609 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001292/8.21, allocations: 376 kB / 3.61 GB, free: 118.5 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.001761/8.212, allocations: 0.7548 MB / 3.61 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001004/8.213, allocations: 0.6442 MB / 3.611 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/8.213, allocations: 0 / 3.611 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004343/8.213, allocations: 307.3 kB / 3.611 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/8.215, allocations: 321.5 kB / 3.611 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/8.218, allocations: 1.586 MB / 3.613 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/8.218, allocations: 1.118 MB / 3.614 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001099/8.219, allocations: 235.9 kB / 3.614 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/8.22, allocations: 100.1 kB / 3.614 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of SimCode: time 7.92e-07/8.22, allocations: 0 / 3.614 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.02858/8.248, allocations: 17.22 MB / 3.631 GB, free: 116.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)