Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001087/0.001087, allocations: 187.3 kB / 498.1 MB, free: 5.734 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.587/1.587, allocations: 223.2 MB / 0.7948 GB, free: 18.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.0009233/0.0009233, allocations: 102.2 kB / 0.9346 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004133, allocations: 9.094 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3293, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.696/6.025, allocations: 2.158 GB / 3.381 GB, free: 233 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/6.025, allocations: 91.97 kB / 3.381 GB, free: 232.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.931/7.956, allocations: 0.602 GB / 3.983 GB, free: 100.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.824e-06/7.956, allocations: 0 / 3.983 GB, free: 100.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001808/7.957, allocations: 35.98 kB / 3.983 GB, free: 100.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.004217/7.961, allocations: 1.559 MB / 3.985 GB, free: 98.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/7.961, allocations: 8.031 kB / 3.985 GB, free: 98.79 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002822/7.961, allocations: 110.5 kB / 3.985 GB, free: 98.68 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/7.964, allocations: 0.5759 MB / 3.985 GB, free: 98.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/7.967, allocations: 0.922 MB / 3.986 GB, free: 97.12 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/7.967, allocations: 54 kB / 3.986 GB, free: 97.07 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/7.968, allocations: 75.98 kB / 3.987 GB, free: 96.99 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/7.97, allocations: 1.107 MB / 3.988 GB, free: 95.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/7.97, allocations: 3.938 kB / 3.988 GB, free: 95.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/7.97, allocations: 28 kB / 3.988 GB, free: 95.77 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/7.97, allocations: 29.3 kB / 3.988 GB, free: 95.74 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/7.973, allocations: 1.008 MB / 3.989 GB, free: 94.73 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.005601/7.979, allocations: 4.966 MB / 3.993 GB, free: 89.48 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/7.981, allocations: 0.951 MB / 3.994 GB, free: 88.52 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/7.983, allocations: 1.596 MB / 3.996 GB, free: 86.57 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/7.984, allocations: 0.5846 MB / 3.997 GB, free: 85.98 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 3.527e-06/7.984, allocations: 4 kB / 3.997 GB, free: 85.97 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.00422/7.988, allocations: 1.504 MB / 3.998 GB, free: 84.46 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/7.988, allocations: 59.97 kB / 3.998 GB, free: 84.39 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/7.99, allocations: 0.989 MB / 3.999 GB, free: 83.39 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/7.99, allocations: 41.7 kB / 3.999 GB, free: 83.34 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/7.99, allocations: 0.5395 MB / 4 GB, free: 82.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/7.991, allocations: 217 kB / 4 GB, free: 82.59 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/7.991, allocations: 19.94 kB / 4 GB, free: 82.57 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/7.991, allocations: 337.9 kB / 4 GB, free: 82.23 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/7.992, allocations: 457.6 kB / 4.001 GB, free: 81.79 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/7.993, allocations: 0.7413 MB / 4.001 GB, free: 80.91 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/7.995, allocations: 497.8 kB / 4.002 GB, free: 80.43 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/7.995, allocations: 4 kB / 4.002 GB, free: 80.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003223/7.998, allocations: 1.286 MB / 4.003 GB, free: 79.13 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/7.998, allocations: 8.938 kB / 4.003 GB, free: 79.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/7.998, allocations: 12 kB / 4.003 GB, free: 79.11 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/7.998, allocations: 12 kB / 4.003 GB, free: 79.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/7.999, allocations: 275.8 kB / 4.003 GB, free: 78.83 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/7.999, allocations: 19.94 kB / 4.003 GB, free: 78.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/8.001, allocations: 214.9 kB / 4.004 GB, free: 78.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/8.001, allocations: 47.97 kB / 4.004 GB, free: 78.55 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.0005961/8.001, allocations: 295.7 kB / 4.004 GB, free: 78.25 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/8.002, allocations: 126.5 kB / 4.004 GB, free: 78.13 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/8.005, allocations: 1.428 MB / 4.005 GB, free: 76.69 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/8.005, allocations: 8 kB / 4.005 GB, free: 76.68 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/8.005, allocations: 3.953 kB / 4.005 GB, free: 76.68 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/8.005, allocations: 3.984 kB / 4.005 GB, free: 76.67 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/8.01, allocations: 2.478 MB / 4.008 GB, free: 74.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/8.01, allocations: 8.188 kB / 4.008 GB, free: 74.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009824/8.011, allocations: 203.6 kB / 4.008 GB, free: 73.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/8.011, allocations: 4 kB / 4.008 GB, free: 73.91 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-05/8.012, allocations: 23.97 kB / 4.008 GB, free: 73.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/8.012, allocations: 4 kB / 4.008 GB, free: 73.88 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/8.012, allocations: 4 kB / 4.008 GB, free: 73.88 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004449/8.016, allocations: 2.125 MB / 4.01 GB, free: 71.69 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/8.017, allocations: 311.2 kB / 4.01 GB, free: 71.36 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/8.017, allocations: 20 kB / 4.01 GB, free: 71.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/8.018, allocations: 127.9 kB / 4.011 GB, free: 71.22 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/8.018, allocations: 52.45 kB / 4.011 GB, free: 71.17 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/8.019, allocations: 35.97 kB / 4.011 GB, free: 71.13 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001026/8.02, allocations: 0.7638 MB / 4.011 GB, free: 70.36 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/8.02, allocations: 3.938 kB / 4.011 GB, free: 70.36 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001457/8.021, allocations: 387.6 kB / 4.012 GB, free: 69.98 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.006637/8.028, allocations: 3.797 MB / 4.015 GB, free: 66.29 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002912/8.031, allocations: 1.139 MB / 4.017 GB, free: 65.16 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/8.031, allocations: 4.188 kB / 4.017 GB, free: 65.15 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/8.032, allocations: 0.593 MB / 4.017 GB, free: 64.56 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/8.034, allocations: 416 kB / 4.018 GB, free: 64.16 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/8.049, allocations: 12.6 MB / 4.03 GB, free: 51.08 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/8.049, allocations: 1.143 MB / 4.031 GB, free: 49.91 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001155/8.05, allocations: 256.5 kB / 4.031 GB, free: 49.66 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/8.051, allocations: 463.2 kB / 4.032 GB, free: 49.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.343e-06/8.051, allocations: 0 / 4.032 GB, free: 49.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04995/8.101, allocations: 32.39 MB / 4.063 GB, free: 17.22 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/8.101, allocations: 225.5 kB / 4.064 GB, free: 16.98 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/11.33, allocations: 3.938 kB / 4.064 GB, free: 16.98 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat does not exist to compare? outputFormat=mat