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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7421/0.7421, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001317/0.001318, allocations: 176.4 kB / 173.7 MB, free: 6.121 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.598/1.598, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008607/0.0008607, allocations: 91.33 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 13.28 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 76.78 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.045/6.211, allocations: 2.388 GB / 3.023 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/6.212, allocations: 93.16 kB / 3.023 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.896/8.108, allocations: 0.585 GB / 3.608 GB, free: 91.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/8.108, allocations: 0 / 3.608 GB, free: 91.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002001/8.108, allocations: 35.67 kB / 3.608 GB, free: 91.3 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.004593/8.113, allocations: 1.541 MB / 3.61 GB, free: 89.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/8.113, allocations: 8.031 kB / 3.61 GB, free: 89.73 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003417/8.113, allocations: 122.4 kB / 3.61 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/8.117, allocations: 0.582 MB / 3.611 GB, free: 89.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/8.12, allocations: 0.9281 MB / 3.611 GB, free: 88.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/8.12, allocations: 58 kB / 3.611 GB, free: 88.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/8.12, allocations: 83.69 kB / 3.612 GB, free: 87.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/8.123, allocations: 1.086 MB / 3.613 GB, free: 86.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/8.123, allocations: 3.938 kB / 3.613 GB, free: 86.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/8.123, allocations: 32 kB / 3.613 GB, free: 86.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/8.123, allocations: 23.95 kB / 3.613 GB, free: 86.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/8.126, allocations: 0.9944 MB / 3.614 GB, free: 85.77 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.006405/8.133, allocations: 4.867 MB / 3.618 GB, free: 80.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/8.135, allocations: 0.8943 MB / 3.619 GB, free: 79.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/8.136, allocations: 1.596 MB / 3.621 GB, free: 77.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/8.138, allocations: 0.5518 MB / 3.621 GB, free: 77.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=55): time 3.797e-06/8.138, allocations: 0 / 3.621 GB, free: 77.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55): time 0.004247/8.142, allocations: 1.456 MB / 3.623 GB, free: 75.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/8.142, allocations: 67.91 kB / 3.623 GB, free: 75.72 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/8.144, allocations: 1.01 MB / 3.624 GB, free: 74.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/8.144, allocations: 41.69 kB / 3.624 GB, free: 74.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000497/8.144, allocations: 0.5665 MB / 3.624 GB, free: 74.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/8.144, allocations: 196.3 kB / 3.625 GB, free: 73.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/8.144, allocations: 19.94 kB / 3.625 GB, free: 73.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/8.144, allocations: 341.9 kB / 3.625 GB, free: 73.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/8.146, allocations: 445.7 kB / 3.625 GB, free: 73.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/8.147, allocations: 0.7659 MB / 3.626 GB, free: 72.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/8.148, allocations: 495.8 kB / 3.627 GB, free: 71.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/8.148, allocations: 4 kB / 3.627 GB, free: 71.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003308/8.152, allocations: 1.269 MB / 3.628 GB, free: 70.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/8.152, allocations: 8 kB / 3.628 GB, free: 70.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/8.152, allocations: 12.03 kB / 3.628 GB, free: 70.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/8.152, allocations: 12 kB / 3.628 GB, free: 70.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/8.153, allocations: 275.6 kB / 3.628 GB, free: 70.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/8.153, allocations: 15.92 kB / 3.628 GB, free: 70.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/8.155, allocations: 214.9 kB / 3.628 GB, free: 69.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/8.155, allocations: 51.97 kB / 3.628 GB, free: 69.86 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.0006911/8.156, allocations: 299.3 kB / 3.629 GB, free: 69.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/8.156, allocations: 125.9 kB / 3.629 GB, free: 69.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/8.159, allocations: 1.391 MB / 3.63 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/8.159, allocations: 12 kB / 3.63 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/8.16, allocations: 4 kB / 3.63 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/8.16, allocations: 3.984 kB / 3.63 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/8.161, allocations: 0.8992 MB / 3.631 GB, free: 67.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/8.161, allocations: 0 / 3.631 GB, free: 67.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009844/8.162, allocations: 183.7 kB / 3.631 GB, free: 66.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/8.162, allocations: 8 kB / 3.631 GB, free: 66.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/8.162, allocations: 19.97 kB / 3.631 GB, free: 66.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/8.162, allocations: 0 / 3.631 GB, free: 66.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/8.162, allocations: 0 / 3.631 GB, free: 66.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/8.166, allocations: 1.664 MB / 3.633 GB, free: 65.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/8.167, allocations: 247.2 kB / 3.633 GB, free: 64.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/8.167, allocations: 12 kB / 3.633 GB, free: 64.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/8.168, allocations: 129.7 kB / 3.633 GB, free: 64.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/8.168, allocations: 36.5 kB / 3.633 GB, free: 64.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/8.168, allocations: 23.98 kB / 3.633 GB, free: 64.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001301/8.17, allocations: 0.8594 MB / 3.634 GB, free: 63.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/8.17, allocations: 0 / 3.634 GB, free: 63.87 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001573/8.171, allocations: 387.5 kB / 3.635 GB, free: 63.49 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.006291/8.178, allocations: 2.938 MB / 3.637 GB, free: 60.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002953/8.181, allocations: 1.047 MB / 3.638 GB, free: 59.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/8.181, allocations: 0 / 3.638 GB, free: 59.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/8.182, allocations: 0.4956 MB / 3.639 GB, free: 59.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/8.184, allocations: 421.4 kB / 3.639 GB, free: 58.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/8.201, allocations: 12.42 MB / 3.651 GB, free: 46.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/8.202, allocations: 1.123 MB / 3.653 GB, free: 44.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001443/8.203, allocations: 242.9 kB / 3.653 GB, free: 44.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/8.204, allocations: 463.2 kB / 3.653 GB, free: 44.21 MB / 0.6511 GB Notification: Performance of SimCode: time 2.535e-06/8.204, allocations: 0 / 3.653 GB, free: 44.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05445/8.258, allocations: 32.78 MB / 3.685 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/8.258, allocations: 235.3 kB / 3.685 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.181/11.44, allocations: 0 / 3.685 GB, free: 11.73 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)