Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.416/2.416, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001376/0.001376, allocations: 180 kB / 0.4901 GB, free: 2.27 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.511/1.511, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0009113/0.0009111, allocations: 95.95 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003939, allocations: 10.84 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.322, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.962/6.284, allocations: 2.159 GB / 3.388 GB, free: 274 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/6.285, allocations: 87.95 kB / 3.388 GB, free: 273.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.138/8.422, allocations: 0.602 GB / 3.99 GB, free: 119.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.224e-06/8.422, allocations: 0 / 3.99 GB, free: 119.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001882/8.422, allocations: 39.98 kB / 3.99 GB, free: 119.4 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004938/8.427, allocations: 1.547 MB / 3.992 GB, free: 117.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/8.428, allocations: 12.03 kB / 3.992 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003563/8.428, allocations: 118.4 kB / 3.992 GB, free: 117.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/8.431, allocations: 0.572 MB / 3.993 GB, free: 117.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/8.434, allocations: 0.922 MB / 3.994 GB, free: 116.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/8.434, allocations: 65.97 kB / 3.994 GB, free: 116.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/8.435, allocations: 68 kB / 3.994 GB, free: 116 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/8.437, allocations: 1.1 MB / 3.995 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/8.437, allocations: 7.938 kB / 3.995 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/8.437, allocations: 28 kB / 3.995 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/8.437, allocations: 33.3 kB / 3.995 GB, free: 114.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/8.44, allocations: 1 MB / 3.996 GB, free: 113.7 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.006125/8.446, allocations: 4.964 MB / 4.001 GB, free: 108.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/8.449, allocations: 0.9559 MB / 4.002 GB, free: 107.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/8.45, allocations: 1.6 MB / 4.003 GB, free: 105.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/8.452, allocations: 0.5768 MB / 4.004 GB, free: 105 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 4.157e-06/8.452, allocations: 0 / 4.004 GB, free: 105 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.004594/8.456, allocations: 1.512 MB / 4.005 GB, free: 103.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/8.456, allocations: 55.97 kB / 4.005 GB, free: 103.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/8.458, allocations: 0.989 MB / 4.006 GB, free: 102.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/8.458, allocations: 41.7 kB / 4.006 GB, free: 102.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/8.459, allocations: 0.5473 MB / 4.007 GB, free: 101.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/8.459, allocations: 209.1 kB / 4.007 GB, free: 101.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/8.459, allocations: 23.94 kB / 4.007 GB, free: 101.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/8.459, allocations: 338 kB / 4.007 GB, free: 101.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/8.461, allocations: 453.6 kB / 4.008 GB, free: 100.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/8.462, allocations: 0.749 MB / 4.008 GB, free: 99.89 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/8.463, allocations: 497.8 kB / 4.009 GB, free: 99.41 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/8.463, allocations: 4 kB / 4.009 GB, free: 99.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003373/8.467, allocations: 1.282 MB / 4.01 GB, free: 98.12 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/8.467, allocations: 8.938 kB / 4.01 GB, free: 98.11 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/8.467, allocations: 8 kB / 4.01 GB, free: 98.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/8.467, allocations: 16 kB / 4.01 GB, free: 98.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/8.468, allocations: 279.5 kB / 4.01 GB, free: 97.81 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/8.468, allocations: 19.92 kB / 4.01 GB, free: 97.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/8.47, allocations: 202.9 kB / 4.011 GB, free: 97.59 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/8.47, allocations: 51.97 kB / 4.011 GB, free: 97.54 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0007131/8.471, allocations: 312.1 kB / 4.011 GB, free: 97.23 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/8.471, allocations: 114.6 kB / 4.011 GB, free: 97.11 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003894/8.475, allocations: 1.425 MB / 4.013 GB, free: 95.68 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/8.475, allocations: 8 kB / 4.013 GB, free: 95.67 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/8.475, allocations: 7.953 kB / 4.013 GB, free: 95.66 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/8.475, allocations: 3.984 kB / 4.013 GB, free: 95.66 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006679/8.482, allocations: 2.477 MB / 4.015 GB, free: 93.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/8.482, allocations: 4 kB / 4.015 GB, free: 93.12 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/8.483, allocations: 199.9 kB / 4.015 GB, free: 92.92 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.358e-05/8.483, allocations: 8 kB / 4.015 GB, free: 92.91 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/8.483, allocations: 31.91 kB / 4.015 GB, free: 92.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/8.483, allocations: 4 kB / 4.015 GB, free: 92.88 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/8.483, allocations: 4 kB / 4.015 GB, free: 92.88 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005328/8.488, allocations: 2.121 MB / 4.017 GB, free: 90.68 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/8.489, allocations: 315.2 kB / 4.018 GB, free: 90.36 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004392/8.49, allocations: 16 kB / 4.018 GB, free: 90.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/8.491, allocations: 131.9 kB / 4.018 GB, free: 90.21 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/8.492, allocations: 60.44 kB / 4.018 GB, free: 90.15 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/8.492, allocations: 31.97 kB / 4.018 GB, free: 90.12 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001585/8.493, allocations: 0.7638 MB / 4.019 GB, free: 89.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.31e-07/8.493, allocations: 0 / 4.019 GB, free: 89.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002212/8.495, allocations: 391.6 kB / 4.019 GB, free: 88.97 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007093/8.503, allocations: 3.79 MB / 4.023 GB, free: 85.29 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003037/8.506, allocations: 1.131 MB / 4.024 GB, free: 84.16 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/8.506, allocations: 4 kB / 4.024 GB, free: 84.16 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/8.507, allocations: 0.5931 MB / 4.024 GB, free: 83.57 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/8.509, allocations: 419.7 kB / 4.025 GB, free: 83.16 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/8.526, allocations: 12.6 MB / 4.037 GB, free: 70.09 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/8.527, allocations: 1.143 MB / 4.038 GB, free: 68.91 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001306/8.529, allocations: 248.5 kB / 4.038 GB, free: 68.67 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007154/8.529, allocations: 471.2 kB / 4.039 GB, free: 68.21 MB / 1.167 GB Notification: Performance of SimCode: time 1.784e-06/8.529, allocations: 0 / 4.039 GB, free: 68.21 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0694/8.599, allocations: 32.4 MB / 4.07 GB, free: 36.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/8.599, allocations: 239 kB / 4.071 GB, free: 35.95 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/11.81, allocations: 0 / 4.071 GB, free: 35.95 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat does not exist to compare? outputFormat=mat