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.21/2.21, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001245/0.001245, allocations: 169.2 kB / 498.1 MB, free: 5.766 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.553/1.553, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0009842/0.0009841, allocations: 102.1 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004351, allocations: 10.28 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3347, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.625/4.959, allocations: 1.874 GB / 3.097 GB, free: 75.42 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/4.96, allocations: 86.69 kB / 3.097 GB, free: 75.38 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.02/8.98, allocations: 1.019 GB / 4.116 GB, free: 274.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.635e-06/8.98, allocations: 0 / 4.116 GB, free: 274.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002653/8.98, allocations: 44.52 kB / 4.116 GB, free: 274.6 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.01056/8.991, allocations: 2.033 MB / 4.118 GB, free: 274 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/8.991, allocations: 13.66 kB / 4.118 GB, free: 274 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005413/8.991, allocations: 140.4 kB / 4.118 GB, free: 274 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/8.996, allocations: 0.6858 MB / 4.119 GB, free: 273.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/9, allocations: 1.051 MB / 4.12 GB, free: 273.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/9, allocations: 67.28 kB / 4.12 GB, free: 273.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/9, allocations: 91.59 kB / 4.12 GB, free: 273.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/9.004, allocations: 1.464 MB / 4.121 GB, free: 273.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/9.004, allocations: 2.344 kB / 4.121 GB, free: 273.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/9.004, allocations: 35.09 kB / 4.121 GB, free: 273.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/9.004, allocations: 51.31 kB / 4.122 GB, free: 273.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/9.007, allocations: 1.381 MB / 4.123 GB, free: 273.3 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.009163/9.016, allocations: 5.775 MB / 4.129 GB, free: 270.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/9.02, allocations: 1.384 MB / 4.13 GB, free: 270.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008035/9.021, allocations: 0.5859 MB / 4.13 GB, free: 269.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001911/9.023, allocations: 0.7908 MB / 4.131 GB, free: 269.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=80): time 3.747e-06/9.023, allocations: 2.297 kB / 4.131 GB, free: 269.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=80): time 0.006005/9.029, allocations: 2.076 MB / 4.133 GB, free: 269.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/9.029, allocations: 61.16 kB / 4.133 GB, free: 269.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/9.031, allocations: 1.096 MB / 4.134 GB, free: 269.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/9.031, allocations: 44.27 kB / 4.134 GB, free: 269.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/9.032, allocations: 0.5833 MB / 4.135 GB, free: 269.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/9.032, allocations: 282.6 kB / 4.135 GB, free: 269.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/9.032, allocations: 17.22 kB / 4.135 GB, free: 269.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/9.032, allocations: 342 kB / 4.136 GB, free: 268.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/9.034, allocations: 0.609 MB / 4.136 GB, free: 268.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/9.036, allocations: 0.9206 MB / 4.137 GB, free: 268.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/9.037, allocations: 0.6381 MB / 4.138 GB, free: 268.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/9.037, allocations: 2.031 kB / 4.138 GB, free: 268.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004277/9.042, allocations: 1.634 MB / 4.139 GB, free: 268.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/9.042, allocations: 8.062 kB / 4.139 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/9.042, allocations: 7.312 kB / 4.139 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/9.042, allocations: 19.61 kB / 4.139 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/9.043, allocations: 313 kB / 4.14 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/9.043, allocations: 20.2 kB / 4.14 GB, free: 268.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/9.045, allocations: 232.2 kB / 4.14 GB, free: 268.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/9.045, allocations: 59.25 kB / 4.14 GB, free: 268.3 MB / 1.167 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 () * 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.0006919/9.046, allocations: 349.5 kB / 4.14 GB, free: 268.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/9.046, allocations: 129.9 kB / 4.14 GB, free: 268.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004467/9.051, allocations: 1.61 MB / 4.142 GB, free: 268.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/9.051, allocations: 12.05 kB / 4.142 GB, free: 268.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/9.051, allocations: 4.031 kB / 4.142 GB, free: 268.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/9.051, allocations: 10.2 kB / 4.142 GB, free: 268.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006452/9.057, allocations: 3.116 MB / 4.145 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/9.057, allocations: 6.594 kB / 4.145 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/9.059, allocations: 251.1 kB / 4.145 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/9.059, allocations: 11.56 kB / 4.145 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.69e-05/9.059, allocations: 31.16 kB / 4.145 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/9.059, allocations: 16.67 kB / 4.145 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/9.059, allocations: 3.938 kB / 4.145 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/9.064, allocations: 2.753 MB / 4.148 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/9.065, allocations: 347 kB / 4.148 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/9.066, allocations: 29.47 kB / 4.148 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/9.067, allocations: 145.5 kB / 4.149 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/9.067, allocations: 64.47 kB / 4.149 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.865e-05/9.067, allocations: 37.27 kB / 4.149 GB, free: 266.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001207/9.068, allocations: 0.8584 MB / 4.149 GB, free: 266.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.068, allocations: 0 / 4.149 GB, free: 266.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001964/9.07, allocations: 0.5031 MB / 4.15 GB, free: 266.7 MB / 1.167 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) * Number of clocked states: 0 () * 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.00886/9.079, allocations: 6.288 MB / 4.156 GB, free: 264 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003726/9.083, allocations: 1.435 MB / 4.157 GB, free: 264 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/9.083, allocations: 0 / 4.157 GB, free: 264 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/9.085, allocations: 0.734 MB / 4.158 GB, free: 264 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/9.088, allocations: 0.562 MB / 4.159 GB, free: 264 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/9.117, allocations: 14.36 MB / 4.173 GB, free: 256.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/9.118, allocations: 1.204 MB / 4.174 GB, free: 255.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001842/9.12, allocations: 381.7 kB / 4.174 GB, free: 255.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008685/9.121, allocations: 0.5008 MB / 4.175 GB, free: 255.6 MB / 1.167 GB Notification: Performance of SimCode: time 7.81e-07/9.121, allocations: 0 / 4.175 GB, free: 255.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09538/9.216, allocations: 59.12 MB / 4.233 GB, free: 253.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/9.216, allocations: 243.6 kB / 4.233 GB, free: 253.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.944/13.16, allocations: 7.938 kB / 4.233 GB, free: 253.5 MB / 1.167 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