Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",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.34/2.34, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001078/0.001078, allocations: 189.2 kB / 498.1 MB, free: 5.688 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.528/1.528, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001054/0.001054, allocations: 101.9 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 6.812 kB / 1.084 GB, free: 221.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.317/4.65, allocations: 1.868 GB / 3.091 GB, free: 147.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/4.651, allocations: 87.95 kB / 3.091 GB, free: 147.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.105/7.756, allocations: 0.9668 GB / 4.058 GB, free: 80.15 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.824e-06/7.756, allocations: 0 / 4.058 GB, free: 80.15 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000155/7.756, allocations: 35.92 kB / 4.058 GB, free: 80.11 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003795/7.76, allocations: 1.374 MB / 4.059 GB, free: 78.69 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/7.76, allocations: 12.03 kB / 4.059 GB, free: 78.68 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/7.76, allocations: 94.52 kB / 4.059 GB, free: 78.57 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/7.761, allocations: 186.5 kB / 4.059 GB, free: 78.39 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/7.764, allocations: 1.073 MB / 4.06 GB, free: 77.28 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/7.764, allocations: 41 kB / 4.06 GB, free: 77.24 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/7.764, allocations: 60 kB / 4.061 GB, free: 77.18 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/7.765, allocations: 0.6511 MB / 4.061 GB, free: 76.51 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/7.765, allocations: 3.938 kB / 4.061 GB, free: 76.51 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/7.765, allocations: 23.98 kB / 4.061 GB, free: 76.48 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/7.765, allocations: 12 kB / 4.061 GB, free: 76.47 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/7.766, allocations: 0.4918 MB / 4.062 GB, free: 75.98 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.003655/7.77, allocations: 3.245 MB / 4.065 GB, free: 72.36 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/7.77, allocations: 387 kB / 4.065 GB, free: 71.98 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/7.771, allocations: 190.4 kB / 4.065 GB, free: 71.75 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/7.771, allocations: 42.8 kB / 4.065 GB, free: 71.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/7.771, allocations: 0 / 4.065 GB, free: 71.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.002929/7.774, allocations: 1.186 MB / 4.067 GB, free: 70.49 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/7.774, allocations: 55.41 kB / 4.067 GB, free: 70.43 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/7.775, allocations: 0.9543 MB / 4.068 GB, free: 69.45 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/7.775, allocations: 34.03 kB / 4.068 GB, free: 69.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/7.775, allocations: 440.8 kB / 4.068 GB, free: 68.98 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/7.775, allocations: 98.59 kB / 4.068 GB, free: 68.88 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/7.775, allocations: 4 kB / 4.068 GB, free: 68.88 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/7.775, allocations: 318 kB / 4.068 GB, free: 68.56 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/7.776, allocations: 127.9 kB / 4.069 GB, free: 68.43 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/7.776, allocations: 348.1 kB / 4.069 GB, free: 68.02 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/7.776, allocations: 175.4 kB / 4.069 GB, free: 67.85 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/7.776, allocations: 0 / 4.069 GB, free: 67.85 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001066/7.777, allocations: 0.6718 MB / 4.07 GB, free: 67.17 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/7.777, allocations: 360.8 kB / 4.07 GB, free: 66.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/7.777, allocations: 4 kB / 4.07 GB, free: 66.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004992/7.778, allocations: 234.1 kB / 4.07 GB, free: 66.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/7.778, allocations: 23.98 kB / 4.07 GB, free: 66.53 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007884/7.779, allocations: 0.99 MB / 4.071 GB, free: 65.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008062/7.78, allocations: 95.53 kB / 4.071 GB, free: 65.42 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/7.78, allocations: 15.98 kB / 4.071 GB, free: 65.41 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/7.78, allocations: 4 kB / 4.071 GB, free: 65.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009826/7.781, allocations: 0.4974 MB / 4.072 GB, free: 64.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/7.781, allocations: 4 kB / 4.072 GB, free: 64.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/7.781, allocations: 205.7 kB / 4.072 GB, free: 64.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/7.781, allocations: 23.94 kB / 4.072 GB, free: 64.67 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/7.785, allocations: 3.12 MB / 4.075 GB, free: 61.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/7.786, allocations: 83.7 kB / 4.075 GB, free: 61.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/7.786, allocations: 12 kB / 4.075 GB, free: 61.31 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005934/7.786, allocations: 448.8 kB / 4.076 GB, free: 60.86 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/7.786, allocations: 98.78 kB / 4.076 GB, free: 60.77 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/7.788, allocations: 0.7102 MB / 4.076 GB, free: 60.04 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/7.788, allocations: 4 kB / 4.076 GB, free: 60.04 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/7.788, allocations: 3.953 kB / 4.076 GB, free: 60.04 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/7.788, allocations: 3.938 kB / 4.076 GB, free: 60.03 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/7.79, allocations: 1.51 MB / 4.078 GB, free: 58.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/7.79, allocations: 4.188 kB / 4.078 GB, free: 58.44 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/7.79, allocations: 24.2 kB / 4.078 GB, free: 58.41 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/7.791, allocations: 221.4 kB / 4.078 GB, free: 58.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/7.791, allocations: 15.94 kB / 4.078 GB, free: 58.18 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007215/7.792, allocations: 0.9668 MB / 4.079 GB, free: 57.19 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/7.792, allocations: 12.03 kB / 4.079 GB, free: 57.18 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/7.793, allocations: 0.8987 MB / 4.08 GB, free: 56.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/7.793, allocations: 219.8 kB / 4.08 GB, free: 55.96 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/7.793, allocations: 4 kB / 4.08 GB, free: 55.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/7.794, allocations: 63.78 kB / 4.08 GB, free: 55.89 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/7.794, allocations: 23.88 kB / 4.08 GB, free: 55.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/7.794, allocations: 11.98 kB / 4.08 GB, free: 55.86 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009927/7.795, allocations: 0.7591 MB / 4.081 GB, free: 55.09 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/7.795, allocations: 4 kB / 4.081 GB, free: 55.09 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001794/7.797, allocations: 483.6 kB / 4.082 GB, free: 54.61 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00299/7.8, allocations: 2.623 MB / 4.084 GB, free: 51.94 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001463/7.802, allocations: 0.7401 MB / 4.085 GB, free: 51.18 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/7.802, allocations: 0 / 4.085 GB, free: 51.18 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/7.802, allocations: 215.1 kB / 4.085 GB, free: 50.97 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/7.804, allocations: 485.9 kB / 4.086 GB, free: 50.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009581/7.814, allocations: 6.385 MB / 4.092 GB, free: 43.89 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/7.814, allocations: 1.196 MB / 4.093 GB, free: 42.66 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007802/7.815, allocations: 207.3 kB / 4.093 GB, free: 42.45 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/7.815, allocations: 307.3 kB / 4.093 GB, free: 42.15 MB / 1.167 GB Notification: Performance of SimCode: time 8.42e-07/7.815, allocations: 4 kB / 4.093 GB, free: 42.15 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06218/7.878, allocations: 41.36 MB / 4.134 GB, free: 1.188 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/7.878, allocations: 257.7 kB / 4.134 GB, free: 0.8359 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/11.06, allocations: 0 / 4.134 GB, free: 0.8359 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat does not exist to compare? outputFormat=mat