Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 387.1 MB / 399.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 184.8 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009315/0.0009314, allocations: 82.02 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.114e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2359, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.124/5.36, allocations: 1.874 GB / 3.086 GB, free: 433.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/5.361, allocations: 84.47 kB / 3.086 GB, free: 433.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.072/7.433, allocations: 0.6864 GB / 3.773 GB, free: 188.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.323e-06/7.433, allocations: 0 / 3.773 GB, free: 188.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001035/7.433, allocations: 47.27 kB / 3.773 GB, free: 188.4 MB / 1.151 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.006194/7.439, allocations: 1.864 MB / 3.775 GB, free: 186.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/7.439, allocations: 8.031 kB / 3.775 GB, free: 186.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/7.44, allocations: 139.6 kB / 3.775 GB, free: 186.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/7.445, allocations: 0.8761 MB / 3.776 GB, free: 185.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/7.448, allocations: 1.144 MB / 3.777 GB, free: 184.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/7.448, allocations: 66 kB / 3.777 GB, free: 184.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/7.448, allocations: 91.91 kB / 3.777 GB, free: 184.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/7.45, allocations: 1.279 MB / 3.778 GB, free: 182.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/7.45, allocations: 0 / 3.778 GB, free: 182.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/7.45, allocations: 36 kB / 3.778 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/7.451, allocations: 37.98 kB / 3.778 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/7.452, allocations: 1.136 MB / 3.779 GB, free: 181.6 MB / 1.151 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.007252/7.459, allocations: 5.033 MB / 3.784 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/7.461, allocations: 1.123 MB / 3.785 GB, free: 175.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007578/7.462, allocations: 0.6007 MB / 3.786 GB, free: 174.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/7.463, allocations: 0.9411 MB / 3.787 GB, free: 173.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009514/7.464, allocations: 0.7086 MB / 3.787 GB, free: 172.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 3.066e-06/7.464, allocations: 0 / 3.787 GB, free: 172.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.00265/7.466, allocations: 1.307 MB / 3.789 GB, free: 171.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/7.466, allocations: 60.19 kB / 3.789 GB, free: 171.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/7.468, allocations: 1.052 MB / 3.79 GB, free: 170.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/7.468, allocations: 45.7 kB / 3.79 GB, free: 170.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/7.468, allocations: 0.5487 MB / 3.79 GB, free: 169.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/7.468, allocations: 327.3 kB / 3.791 GB, free: 169.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/7.468, allocations: 20 kB / 3.791 GB, free: 169.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/7.468, allocations: 345.9 kB / 3.791 GB, free: 169 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/7.469, allocations: 0.49 MB / 3.792 GB, free: 168.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008094/7.47, allocations: 0.7137 MB / 3.792 GB, free: 167.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007299/7.471, allocations: 0.5123 MB / 3.793 GB, free: 167.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/7.471, allocations: 7.938 kB / 3.793 GB, free: 167.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001953/7.473, allocations: 1.343 MB / 3.794 GB, free: 165.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/7.473, allocations: 4 kB / 3.794 GB, free: 165.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/7.473, allocations: 8.547 kB / 3.794 GB, free: 165.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/7.473, allocations: 12 kB / 3.794 GB, free: 165.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/7.474, allocations: 347.5 kB / 3.794 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/7.475, allocations: 15.94 kB / 3.794 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/7.476, allocations: 258.8 kB / 3.795 GB, free: 165.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/7.476, allocations: 59.89 kB / 3.795 GB, free: 165.1 MB / 1.151 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.0002396/7.477, allocations: 174.9 kB / 3.795 GB, free: 164.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/7.477, allocations: 134.3 kB / 3.795 GB, free: 164.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/7.479, allocations: 1.429 MB / 3.796 GB, free: 163.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/7.479, allocations: 8 kB / 3.796 GB, free: 163.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/7.479, allocations: 4 kB / 3.796 GB, free: 163.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/7.479, allocations: 7.984 kB / 3.796 GB, free: 163.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/7.483, allocations: 3.07 MB / 3.799 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/7.483, allocations: 4 kB / 3.799 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/7.485, allocations: 311.6 kB / 3.8 GB, free: 159.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/7.485, allocations: 8 kB / 3.8 GB, free: 159.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/7.485, allocations: 43.91 kB / 3.8 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/7.485, allocations: 8 kB / 3.8 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/7.485, allocations: 7.938 kB / 3.8 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/7.488, allocations: 2.477 MB / 3.802 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/7.489, allocations: 367.1 kB / 3.803 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/7.489, allocations: 27.98 kB / 3.803 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/7.49, allocations: 175.8 kB / 3.803 GB, free: 156.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/7.491, allocations: 72.59 kB / 3.803 GB, free: 156.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.917e-05/7.491, allocations: 47.95 kB / 3.803 GB, free: 156.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009026/7.492, allocations: 0.8174 MB / 3.804 GB, free: 155.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/7.492, allocations: 0 / 3.804 GB, free: 155.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001695/7.493, allocations: 0.5269 MB / 3.804 GB, free: 155.1 MB / 1.151 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.006325/7.5, allocations: 5.969 MB / 3.81 GB, free: 149.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001852/7.502, allocations: 1.209 MB / 3.811 GB, free: 147.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/7.502, allocations: 0 / 3.811 GB, free: 147.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000848/7.502, allocations: 0.6387 MB / 3.812 GB, free: 147.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/7.505, allocations: 0.5817 MB / 3.812 GB, free: 146.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/7.52, allocations: 3.396 MB / 3.816 GB, free: 143.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/7.52, allocations: 1.22 MB / 3.817 GB, free: 141.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001719/7.522, allocations: 393.8 kB / 3.817 GB, free: 141.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007862/7.523, allocations: 0.5188 MB / 3.818 GB, free: 141 MB / 1.151 GB Notification: Performance of SimCode: time 1.532e-06/7.523, allocations: 0 / 3.818 GB, free: 141 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09664/7.62, allocations: 65.07 MB / 3.881 GB, free: 76.28 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/7.62, allocations: 187.8 kB / 3.881 GB, free: 76.06 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.326/11.95, allocations: 0 / 3.881 GB, free: 76.06 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat