Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.408/2.408, allocations: 390.5 MB / 398 MB, free: 10.93 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.001363/0.001364, allocations: 176.9 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.053/2.053, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001286/0.001286, allocations: 95.52 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.492e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3516, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.138/6.49, allocations: 1.874 GB / 3.086 GB, free: 355.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/6.491, allocations: 85.44 kB / 3.086 GB, free: 355.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.647/10.14, allocations: 1.007 GB / 4.093 GB, free: 245.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.573e-06/10.14, allocations: 2.969 kB / 4.093 GB, free: 245.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001903/10.14, allocations: 40.06 kB / 4.093 GB, free: 245.7 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.007631/10.15, allocations: 1.833 MB / 4.095 GB, free: 244.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/10.15, allocations: 9.656 kB / 4.095 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/10.15, allocations: 0.6932 MB / 4.095 GB, free: 244.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/10.15, allocations: 1.055 MB / 4.096 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/10.15, allocations: 24.72 kB / 4.097 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/10.15, allocations: 55.67 kB / 4.097 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/10.16, allocations: 0.8646 MB / 4.097 GB, free: 243.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/10.16, allocations: 1.147 MB / 4.099 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/10.16, allocations: 0 / 4.099 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/10.16, allocations: 3.938 kB / 4.099 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/10.16, allocations: 35.86 kB / 4.099 GB, free: 242.4 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.00718/10.16, allocations: 5.099 MB / 4.104 GB, free: 238.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/10.17, allocations: 0.8705 MB / 4.104 GB, free: 237.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/10.17, allocations: 477.5 kB / 4.105 GB, free: 237.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/10.17, allocations: 0.9487 MB / 4.106 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007644/10.17, allocations: 0.592 MB / 4.106 GB, free: 236.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.366e-06/10.17, allocations: 0 / 4.106 GB, free: 236.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002691/10.17, allocations: 1.124 MB / 4.107 GB, free: 235.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/10.17, allocations: 60.09 kB / 4.108 GB, free: 235.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/10.17, allocations: 0.8507 MB / 4.108 GB, free: 235.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/10.17, allocations: 28.61 kB / 4.108 GB, free: 235.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/10.17, allocations: 0.585 MB / 4.109 GB, free: 234.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/10.17, allocations: 276.3 kB / 4.109 GB, free: 234.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/10.17, allocations: 0 / 4.109 GB, free: 234.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/10.17, allocations: 344.4 kB / 4.11 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/10.17, allocations: 405.7 kB / 4.11 GB, free: 233.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006824/10.17, allocations: 0.6881 MB / 4.111 GB, free: 233.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/10.18, allocations: 464.6 kB / 4.111 GB, free: 233.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/10.18, allocations: 3.938 kB / 4.111 GB, free: 233.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002036/10.18, allocations: 1.151 MB / 4.112 GB, free: 232.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/10.18, allocations: 10.44 kB / 4.112 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/10.18, allocations: 11.95 kB / 4.112 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/10.18, allocations: 12 kB / 4.112 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/10.18, allocations: 318.2 kB / 4.112 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/10.18, allocations: 19.92 kB / 4.113 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/10.18, allocations: 179.9 kB / 4.113 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/10.18, allocations: 55.97 kB / 4.113 GB, free: 232 MB / 1.151 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 () * 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.0002211/10.18, allocations: 146.8 kB / 4.113 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001517/10.18, allocations: 1.018 MB / 4.114 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/10.18, allocations: 118.5 kB / 4.114 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/10.18, allocations: 1.177 MB / 4.115 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/10.18, allocations: 12 kB / 4.115 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/10.18, allocations: 0 / 4.115 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/10.18, allocations: 7.969 kB / 4.115 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/10.19, allocations: 2.596 MB / 4.118 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/10.19, allocations: 4 kB / 4.118 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/10.19, allocations: 254 kB / 4.118 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/10.19, allocations: 11.98 kB / 4.118 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/10.19, allocations: 26.7 kB / 4.118 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/10.19, allocations: 9.844 kB / 4.118 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/10.19, allocations: 7.938 kB / 4.118 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/10.19, allocations: 2.114 MB / 4.12 GB, free: 224.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/10.19, allocations: 331.4 kB / 4.12 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/10.19, allocations: 8 kB / 4.12 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/10.19, allocations: 130.2 kB / 4.12 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/10.19, allocations: 67.8 kB / 4.121 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-05/10.19, allocations: 43.91 kB / 4.121 GB, free: 223.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007544/10.2, allocations: 0.6403 MB / 4.121 GB, free: 223.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/10.2, allocations: 0 / 4.121 GB, free: 223.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00146/10.2, allocations: 458.7 kB / 4.122 GB, free: 222.6 MB / 1.151 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) * 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.005359/10.2, allocations: 5.798 MB / 4.127 GB, free: 217.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001501/10.2, allocations: 0.9926 MB / 4.128 GB, free: 216.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/10.2, allocations: 8 kB / 4.128 GB, free: 216.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006536/10.2, allocations: 0.5199 MB / 4.129 GB, free: 215.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/10.21, allocations: 420.6 kB / 4.129 GB, free: 215.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/10.21, allocations: 2.232 MB / 4.131 GB, free: 212.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/10.21, allocations: 1.215 MB / 4.133 GB, free: 211.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001369/10.21, allocations: 348 kB / 4.133 GB, free: 211.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/10.21, allocations: 0.5029 MB / 4.133 GB, free: 210.9 MB / 1.151 GB Notification: Performance of SimCode: time 6.71e-07/10.21, allocations: 4 kB / 4.133 GB, free: 210.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06373/10.28, allocations: 40.64 MB / 4.173 GB, free: 170.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/10.28, allocations: 189.9 kB / 4.173 GB, free: 170.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.472/13.75, allocations: 0 / 4.173 GB, free: 170.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat