Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.39/2.39, 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.001294/0.001294, allocations: 184.9 kB / 492.3 MB, free: 0.6172 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.701/1.701, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.001224/0.001224, allocations: 94.09 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.12e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3383, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.337/5.676, allocations: 1.874 GB / 3.086 GB, free: 356.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.676, allocations: 83.05 kB / 3.086 GB, free: 356.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.415/9.091, allocations: 1.018 GB / 4.105 GB, free: 245.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.333e-06/9.091, allocations: 0 / 4.105 GB, free: 245.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001204/9.091, allocations: 46.5 kB / 4.105 GB, free: 245.2 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.007111/9.098, allocations: 1.838 MB / 4.106 GB, free: 243.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/9.098, allocations: 8.031 kB / 4.106 GB, free: 243.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003663/9.098, allocations: 135.5 kB / 4.107 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/9.102, allocations: 0.693 MB / 4.107 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/9.106, allocations: 1.044 MB / 4.108 GB, free: 241.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/9.106, allocations: 69.95 kB / 4.108 GB, free: 241.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/9.106, allocations: 80 kB / 4.108 GB, free: 241.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/9.108, allocations: 1.26 MB / 4.11 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/9.108, allocations: 7.938 kB / 4.11 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/9.108, allocations: 35.98 kB / 4.11 GB, free: 240 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/9.108, allocations: 37.98 kB / 4.11 GB, free: 240 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/9.109, allocations: 0.9953 MB / 4.111 GB, free: 239 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.007486/9.117, allocations: 5.802 MB / 4.116 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/9.118, allocations: 0.934 MB / 4.117 GB, free: 232.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006338/9.119, allocations: 0.4891 MB / 4.118 GB, free: 231.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/9.12, allocations: 0.5823 MB / 4.118 GB, free: 230.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000825/9.121, allocations: 0.5993 MB / 4.119 GB, free: 230.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 2.665e-06/9.121, allocations: 0 / 4.119 GB, free: 230.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.002122/9.123, allocations: 1.099 MB / 4.12 GB, free: 229.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/9.123, allocations: 60.19 kB / 4.12 GB, free: 229.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/9.124, allocations: 1.086 MB / 4.121 GB, free: 228 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/9.124, allocations: 41.7 kB / 4.121 GB, free: 228 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/9.125, allocations: 0.5851 MB / 4.122 GB, free: 227.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/9.125, allocations: 276.8 kB / 4.122 GB, free: 227.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/9.125, allocations: 16 kB / 4.122 GB, free: 227.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/9.125, allocations: 345.9 kB / 4.122 GB, free: 226.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/9.126, allocations: 417.8 kB / 4.123 GB, free: 226.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/9.126, allocations: 0.7284 MB / 4.123 GB, free: 225.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/9.127, allocations: 470.3 kB / 4.124 GB, free: 225.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/9.127, allocations: 0 / 4.124 GB, free: 225.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001799/9.129, allocations: 1.246 MB / 4.125 GB, free: 223.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/9.129, allocations: 8.938 kB / 4.125 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/9.129, allocations: 11.98 kB / 4.125 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/9.129, allocations: 12 kB / 4.125 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/9.13, allocations: 321.5 kB / 4.125 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/9.13, allocations: 19.92 kB / 4.125 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/9.132, allocations: 232.8 kB / 4.126 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/9.132, allocations: 63.89 kB / 4.126 GB, free: 223.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0002393/9.132, allocations: 179.5 kB / 4.126 GB, free: 223 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/9.132, allocations: 134.4 kB / 4.126 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/9.135, allocations: 1.216 MB / 4.127 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/9.135, allocations: 12 kB / 4.127 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/9.135, allocations: 3.219 kB / 4.127 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/9.135, allocations: 3.984 kB / 4.127 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/9.138, allocations: 2.728 MB / 4.13 GB, free: 218.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/9.139, allocations: 8.031 kB / 4.13 GB, free: 218.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/9.14, allocations: 251.6 kB / 4.13 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/9.14, allocations: 8 kB / 4.13 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.512e-05/9.14, allocations: 31.95 kB / 4.13 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/9.14, allocations: 11.94 kB / 4.13 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/9.14, allocations: 7.953 kB / 4.13 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/9.142, allocations: 2.171 MB / 4.132 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/9.143, allocations: 343.2 kB / 4.133 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/9.143, allocations: 23.98 kB / 4.133 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/9.144, allocations: 147.7 kB / 4.133 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/9.145, allocations: 68.38 kB / 4.133 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/9.145, allocations: 39.97 kB / 4.133 GB, free: 215.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000975/9.146, allocations: 0.8384 MB / 4.134 GB, free: 214.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/9.146, allocations: 0 / 4.134 GB, free: 214.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001797/9.147, allocations: 0.4958 MB / 4.134 GB, free: 214.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.006427/9.154, allocations: 5.666 MB / 4.14 GB, free: 208.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00178/9.156, allocations: 1.05 MB / 4.141 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/9.156, allocations: 0 / 4.141 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007306/9.156, allocations: 0.5386 MB / 4.141 GB, free: 207.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/9.159, allocations: 0.5576 MB / 4.142 GB, free: 206.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/9.173, allocations: 3.044 MB / 4.145 GB, free: 203.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/9.173, allocations: 1.204 MB / 4.146 GB, free: 202.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001454/9.175, allocations: 382.4 kB / 4.146 GB, free: 202 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006992/9.175, allocations: 0.5066 MB / 4.147 GB, free: 201.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.72e-07/9.175, allocations: 0 / 4.147 GB, free: 201.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08027/9.256, allocations: 63.49 MB / 4.209 GB, free: 138.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/9.256, allocations: 216.1 kB / 4.209 GB, free: 138.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.496/13.75, allocations: 0 / 4.209 GB, free: 138.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat does not exist to compare? outputFormat=mat