Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.277/2.277, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001478/0.001478, allocations: 180.9 kB / 492.3 MB, free: 0.6133 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.572/1.572, 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.001069/0.001069, allocations: 91.11 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.082e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3101, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.32/5.63, allocations: 1.868 GB / 3.08 GB, free: 359.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/5.63, allocations: 86.09 kB / 3.08 GB, free: 359.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4183/6.048, allocations: 222.2 MB / 3.297 GB, free: 195.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.064e-06/6.048, allocations: 0 / 3.297 GB, free: 195.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.416e-05/6.048, allocations: 8 kB / 3.297 GB, free: 195.6 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009194/6.049, allocations: 0.5609 MB / 3.298 GB, free: 194.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/6.049, allocations: 8.031 kB / 3.298 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/6.05, allocations: 46.55 kB / 3.298 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/6.05, allocations: 67.53 kB / 3.298 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/6.05, allocations: 305.5 kB / 3.298 GB, free: 194.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/6.05, allocations: 12 kB / 3.298 GB, free: 194.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/6.051, allocations: 16 kB / 3.298 GB, free: 194.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/6.051, allocations: 169.6 kB / 3.299 GB, free: 194.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/6.051, allocations: 3.938 kB / 3.299 GB, free: 194.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/6.051, allocations: 4 kB / 3.299 GB, free: 194.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/6.051, allocations: 4 kB / 3.299 GB, free: 194.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/6.051, allocations: 95.92 kB / 3.299 GB, free: 194.2 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.0009407/6.052, allocations: 0.7966 MB / 3.299 GB, free: 193.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/6.052, allocations: 62.56 kB / 3.299 GB, free: 193.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/6.052, allocations: 65.02 kB / 3.3 GB, free: 193.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/6.052, allocations: 194.1 kB / 3.3 GB, free: 192.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/6.053, allocations: 38.56 kB / 3.3 GB, free: 192.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/6.053, allocations: 0 / 3.3 GB, free: 192.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003999/6.053, allocations: 137.3 kB / 3.3 GB, free: 192.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/6.053, allocations: 55.5 kB / 3.3 GB, free: 192.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/6.053, allocations: 235.4 kB / 3.3 GB, free: 192.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/6.053, allocations: 37.7 kB / 3.3 GB, free: 192.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/6.053, allocations: 144 kB / 3.3 GB, free: 192.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/6.053, allocations: 31.55 kB / 3.3 GB, free: 192.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/6.053, allocations: 4 kB / 3.3 GB, free: 192.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/6.053, allocations: 330.8 kB / 3.301 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/6.053, allocations: 24 kB / 3.301 GB, free: 191.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/6.054, allocations: 90.84 kB / 3.301 GB, free: 191.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/6.054, allocations: 35.91 kB / 3.301 GB, free: 191.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/6.054, allocations: 0 / 3.301 GB, free: 191.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/6.054, allocations: 129.3 kB / 3.301 GB, free: 191.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/6.054, allocations: 364 kB / 3.301 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/6.054, allocations: 0 / 3.301 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/6.054, allocations: 144 / 3.301 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/6.054, allocations: 27.92 kB / 3.301 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/6.054, allocations: 8 kB / 3.301 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/6.054, allocations: 35.8 kB / 3.301 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/6.054, allocations: 4 kB / 3.301 GB, free: 191.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/6.054, allocations: 4 kB / 3.301 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001274/6.054, allocations: 79.97 kB / 3.301 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/6.054, allocations: 7.938 kB / 3.301 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-06/6.054, allocations: 0 / 3.301 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/6.055, allocations: 31.95 kB / 3.301 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/6.055, allocations: 4 kB / 3.301 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/6.055, allocations: 27.81 kB / 3.302 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/6.055, allocations: 8 kB / 3.302 GB, free: 191 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.283e-05/6.055, allocations: 109 kB / 3.302 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/6.055, allocations: 27.72 kB / 3.302 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/6.055, allocations: 135.4 kB / 3.302 GB, free: 190.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/6.055, allocations: 0 / 3.302 GB, free: 190.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/6.055, allocations: 4.219 kB / 3.302 GB, free: 190.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/6.055, allocations: 0 / 3.302 GB, free: 190.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/6.056, allocations: 0.5625 MB / 3.302 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/6.056, allocations: 7.938 kB / 3.302 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/6.056, allocations: 27.97 kB / 3.302 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/6.056, allocations: 4 kB / 3.302 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/6.056, allocations: 0 / 3.302 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/6.056, allocations: 4 kB / 3.302 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/6.056, allocations: 8.156 kB / 3.302 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/6.056, allocations: 349.1 kB / 3.303 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/6.056, allocations: 116.8 kB / 3.303 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/6.056, allocations: 4 kB / 3.303 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/6.057, allocations: 19.98 kB / 3.303 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/6.057, allocations: 15.94 kB / 3.303 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/6.057, allocations: 8 kB / 3.303 GB, free: 189.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001364/6.057, allocations: 191.1 kB / 3.303 GB, free: 189.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/6.057, allocations: 0 / 3.303 GB, free: 189.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007362/6.057, allocations: 179.8 kB / 3.303 GB, free: 189 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001619/6.059, allocations: 2.167 MB / 3.305 GB, free: 186.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000239/6.059, allocations: 133.8 kB / 3.305 GB, free: 186.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/6.059, allocations: 0 / 3.305 GB, free: 186.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/6.059, allocations: 51.86 kB / 3.306 GB, free: 186.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/6.06, allocations: 126 kB / 3.306 GB, free: 186.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/6.061, allocations: 386.3 kB / 3.306 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/6.061, allocations: 0.7648 MB / 3.307 GB, free: 185.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003189/6.061, allocations: 85.97 kB / 3.307 GB, free: 185.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/6.061, allocations: 67.41 kB / 3.307 GB, free: 185.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.1e-07/6.061, allocations: 0 / 3.307 GB, free: 185.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/6.102, allocations: 23.11 MB / 3.329 GB, free: 162.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/6.103, allocations: 200.4 kB / 3.33 GB, free: 161.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/8.556, allocations: 0 / 3.33 GB, free: 161.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat does not exist to compare? outputFormat=mat