Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.156/2.156, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001022/0.001022, allocations: 179.9 kB / 498.1 MB, free: 5.699 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.446/1.446, allocations: 223.1 MB / 0.7948 GB, free: 17.88 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.001009/0.001009, allocations: 100.1 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 11.02 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2852, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.444/4.73, allocations: 1.874 GB / 3.097 GB, free: 140.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/4.73, allocations: 89.83 kB / 3.097 GB, free: 140.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.654/8.384, allocations: 1.019 GB / 4.116 GB, free: 8.402 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.395e-06/8.384, allocations: 4 kB / 4.116 GB, free: 8.398 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002079/8.384, allocations: 43.91 kB / 4.116 GB, free: 8.355 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.008863/8.393, allocations: 2.034 MB / 4.118 GB, free: 6.266 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/8.393, allocations: 12.03 kB / 4.118 GB, free: 6.254 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005277/8.394, allocations: 135.5 kB / 4.118 GB, free: 6.113 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/8.398, allocations: 0.6888 MB / 4.119 GB, free: 5.422 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/8.402, allocations: 1.066 MB / 4.12 GB, free: 4.297 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/8.402, allocations: 62 kB / 4.12 GB, free: 4.238 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/8.403, allocations: 92 kB / 4.12 GB, free: 4.148 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/8.406, allocations: 1.449 MB / 4.121 GB, free: 2.641 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/8.406, allocations: 0 / 4.121 GB, free: 2.641 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/8.407, allocations: 32 kB / 4.121 GB, free: 2.609 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/8.407, allocations: 45.95 kB / 4.121 GB, free: 2.566 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/8.41, allocations: 1.409 MB / 4.123 GB, free: 1.156 MB / 1.167 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.7839/9.194, allocations: 5.309 MB / 4.128 GB, free: 282.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/9.198, allocations: 1.305 MB / 4.129 GB, free: 282.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/9.2, allocations: 0.9436 MB / 4.13 GB, free: 281.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002345/9.202, allocations: 0.7956 MB / 4.131 GB, free: 281.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.757e-06/9.202, allocations: 2.312 kB / 4.131 GB, free: 281.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=82): time 0.007513/9.209, allocations: 2.139 MB / 4.133 GB, free: 281.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/9.21, allocations: 63.66 kB / 4.133 GB, free: 281.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/9.212, allocations: 1.119 MB / 4.134 GB, free: 281.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/9.212, allocations: 46.62 kB / 4.134 GB, free: 281.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/9.212, allocations: 0.5779 MB / 4.135 GB, free: 281 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/9.213, allocations: 284.1 kB / 4.135 GB, free: 280.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/9.213, allocations: 16.97 kB / 4.135 GB, free: 280.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001085/9.213, allocations: 342.1 kB / 4.135 GB, free: 280.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/9.215, allocations: 0.6112 MB / 4.136 GB, free: 280.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/9.217, allocations: 0.9058 MB / 4.137 GB, free: 280.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/9.219, allocations: 0.6554 MB / 4.138 GB, free: 280.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/9.219, allocations: 1.969 kB / 4.138 GB, free: 280.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004938/9.224, allocations: 1.638 MB / 4.139 GB, free: 280.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/9.224, allocations: 7.688 kB / 4.139 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/9.224, allocations: 10.64 kB / 4.139 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-05/9.224, allocations: 12.41 kB / 4.139 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/9.226, allocations: 316.1 kB / 4.139 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-05/9.226, allocations: 18.59 kB / 4.139 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/9.228, allocations: 234.1 kB / 4.14 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/9.228, allocations: 57.33 kB / 4.14 GB, free: 280.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0008606/9.229, allocations: 339.7 kB / 4.14 GB, free: 280 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/9.229, allocations: 136.8 kB / 4.14 GB, free: 279.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004933/9.234, allocations: 1.629 MB / 4.142 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/9.234, allocations: 10.62 kB / 4.142 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/9.234, allocations: 8.609 kB / 4.142 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/9.234, allocations: 4.5 kB / 4.142 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007927/9.242, allocations: 3.133 MB / 4.145 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/9.242, allocations: 4.438 kB / 4.145 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/9.244, allocations: 255 kB / 4.145 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/9.244, allocations: 9.406 kB / 4.145 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/9.244, allocations: 37.34 kB / 4.145 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/9.244, allocations: 16.75 kB / 4.145 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/9.244, allocations: 3.625 kB / 4.145 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006563/9.251, allocations: 2.792 MB / 4.148 GB, free: 278.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/9.252, allocations: 355.5 kB / 4.148 GB, free: 278.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/9.252, allocations: 24.84 kB / 4.148 GB, free: 278.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/9.253, allocations: 142.5 kB / 4.148 GB, free: 278.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/9.254, allocations: 63.95 kB / 4.148 GB, free: 278.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/9.254, allocations: 41.92 kB / 4.149 GB, free: 278.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001492/9.255, allocations: 0.8755 MB / 4.149 GB, free: 278.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/9.255, allocations: 0 / 4.149 GB, free: 278.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002423/9.258, allocations: 0.4999 MB / 4.15 GB, free: 278.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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.009967/9.268, allocations: 6.338 MB / 4.156 GB, free: 275.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004014/9.272, allocations: 1.434 MB / 4.157 GB, free: 275.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/9.272, allocations: 0 / 4.157 GB, free: 275.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/9.274, allocations: 0.7312 MB / 4.158 GB, free: 275.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/9.277, allocations: 0.5826 MB / 4.159 GB, free: 275.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/9.295, allocations: 13.45 MB / 4.172 GB, free: 268.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/9.295, allocations: 1.207 MB / 4.173 GB, free: 267.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002029/9.297, allocations: 383.5 kB / 4.173 GB, free: 267.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000883/9.298, allocations: 0.5175 MB / 4.174 GB, free: 267.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.513e-06/9.298, allocations: 0 / 4.174 GB, free: 267.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/9.4, allocations: 60.11 MB / 4.233 GB, free: 266.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/9.4, allocations: 228.8 kB / 4.233 GB, free: 266.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.995/13.39, allocations: 0 / 4.233 GB, free: 266.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat