Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.435/2.435, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001491, allocations: 184.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.2 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 87.33 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.753e-05, allocations: 11.98 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8328/0.8328, allocations: 115.2 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.968/6.801, allocations: 2.067 GB / 3.03 GB, free: 51.72 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/6.802, allocations: 91.36 kB / 3.03 GB, free: 51.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.828/10.63, allocations: 0.6722 GB / 3.703 GB, free: 123.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.344e-06/10.63, allocations: 0 / 3.703 GB, free: 123.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001871/10.63, allocations: 43.38 kB / 3.703 GB, free: 123.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01045/10.64, allocations: 1.754 MB / 3.704 GB, free: 121.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/10.64, allocations: 8.031 kB / 3.704 GB, free: 121.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008915/10.65, allocations: 0.8845 MB / 3.705 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/10.65, allocations: 1.118 MB / 3.706 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/10.65, allocations: 28 kB / 3.706 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/10.66, allocations: 56 kB / 3.706 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003026/10.66, allocations: 1.086 MB / 3.708 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/10.66, allocations: 1.142 MB / 3.709 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/10.66, allocations: 0 / 3.709 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/10.66, allocations: 4 kB / 3.709 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.818e-05/10.66, allocations: 45.98 kB / 3.709 GB, free: 117.3 MB / 0.948 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.01341/10.67, allocations: 4.816 MB / 3.713 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/10.68, allocations: 1.066 MB / 3.714 GB, free: 111.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/10.68, allocations: 0.5656 MB / 3.715 GB, free: 110.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/10.68, allocations: 0.945 MB / 3.716 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/10.68, allocations: 0.6759 MB / 3.717 GB, free: 108.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 4.599e-06/10.68, allocations: 0 / 3.717 GB, free: 108.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004892/10.69, allocations: 1.291 MB / 3.718 GB, free: 107.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/10.69, allocations: 64.19 kB / 3.718 GB, free: 107.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/10.69, allocations: 0.8224 MB / 3.719 GB, free: 106.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003519/10.69, allocations: 25.7 kB / 3.719 GB, free: 106.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005695/10.69, allocations: 0.563 MB / 3.719 GB, free: 106 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/10.69, allocations: 319.4 kB / 3.72 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/10.69, allocations: 0 / 3.72 GB, free: 105.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/10.69, allocations: 345.9 kB / 3.72 GB, free: 105.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/10.69, allocations: 474.4 kB / 3.72 GB, free: 104.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/10.69, allocations: 0.7242 MB / 3.721 GB, free: 104 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/10.69, allocations: 0.5097 MB / 3.722 GB, free: 103.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/10.69, allocations: 4 kB / 3.722 GB, free: 103.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003968/10.7, allocations: 1.268 MB / 3.723 GB, free: 102.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/10.7, allocations: 12.72 kB / 3.723 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/10.7, allocations: 4 kB / 3.723 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/10.7, allocations: 16.56 kB / 3.723 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/10.7, allocations: 347.5 kB / 3.723 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/10.7, allocations: 11.98 kB / 3.723 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/10.71, allocations: 223 kB / 3.723 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/10.71, allocations: 59.89 kB / 3.723 GB, free: 101.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.000404/10.71, allocations: 142.8 kB / 3.724 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003433/10.71, allocations: 1.17 MB / 3.725 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/10.71, allocations: 114.6 kB / 3.725 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/10.72, allocations: 1.376 MB / 3.726 GB, free: 98.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/10.72, allocations: 8 kB / 3.726 GB, free: 98.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/10.72, allocations: 3.953 kB / 3.726 GB, free: 98.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/10.72, allocations: 7.984 kB / 3.726 GB, free: 98.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008153/10.72, allocations: 2.88 MB / 3.729 GB, free: 95.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/10.72, allocations: 8.094 kB / 3.729 GB, free: 95.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003485/10.73, allocations: 307.5 kB / 3.729 GB, free: 95.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/10.73, allocations: 15.98 kB / 3.729 GB, free: 95.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000295/10.73, allocations: 31.95 kB / 3.729 GB, free: 95.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/10.73, allocations: 11.94 kB / 3.729 GB, free: 95.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/10.73, allocations: 4 kB / 3.729 GB, free: 95.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/10.73, allocations: 2.38 MB / 3.732 GB, free: 92.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/10.73, allocations: 359.3 kB / 3.732 GB, free: 92.51 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003291/10.73, allocations: 11.98 kB / 3.732 GB, free: 92.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00296/10.74, allocations: 163.8 kB / 3.732 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/10.74, allocations: 76.59 kB / 3.732 GB, free: 92.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/10.74, allocations: 48.08 kB / 3.732 GB, free: 92.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00119/10.74, allocations: 0.624 MB / 3.733 GB, free: 91.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/10.74, allocations: 0 / 3.733 GB, free: 91.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0025/10.74, allocations: 479.3 kB / 3.733 GB, free: 91.11 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.009851/10.75, allocations: 6.108 MB / 3.739 GB, free: 84.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003203/10.75, allocations: 1.151 MB / 3.741 GB, free: 83.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/10.75, allocations: 0 / 3.741 GB, free: 83.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/10.76, allocations: 0.6131 MB / 3.741 GB, free: 83.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/10.76, allocations: 446.3 kB / 3.742 GB, free: 82.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/10.79, allocations: 3.288 MB / 3.745 GB, free: 79.31 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009061/10.79, allocations: 1.219 MB / 3.746 GB, free: 78.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003067/10.79, allocations: 376.3 kB / 3.746 GB, free: 77.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/10.8, allocations: 0.5109 MB / 3.747 GB, free: 77.18 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/10.8, allocations: 0 / 3.747 GB, free: 77.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/10.92, allocations: 42.51 MB / 3.788 GB, free: 34.82 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/10.92, allocations: 179.1 kB / 3.788 GB, free: 34.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.569/15.49, allocations: 4 kB / 3.788 GB, free: 34.61 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)