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.246/2.246, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001435/0.001435, allocations: 181.8 kB / 498.1 MB, free: 5.742 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.586/1.586, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.001001/0.001001, allocations: 90.97 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 7.562 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2646, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.655/3.92, allocations: 1.868 GB / 3.091 GB, free: 147.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/3.92, allocations: 83.95 kB / 3.091 GB, free: 147.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1/4.921, allocations: 222.4 MB / 3.308 GB, free: 390.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/4.921, allocations: 0 / 3.308 GB, free: 390.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.513e-05/4.921, allocations: 3.969 kB / 3.308 GB, free: 390.1 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001023/4.922, allocations: 0.6043 MB / 3.309 GB, free: 389.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/4.922, allocations: 7.812 kB / 3.309 GB, free: 389.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.236e-05/4.922, allocations: 50.33 kB / 3.309 GB, free: 389.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/4.922, allocations: 67.12 kB / 3.309 GB, free: 389.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/4.923, allocations: 302.6 kB / 3.309 GB, free: 389.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/4.923, allocations: 23.36 kB / 3.309 GB, free: 389.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/4.923, allocations: 13.69 kB / 3.309 GB, free: 389.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/4.923, allocations: 191.4 kB / 3.309 GB, free: 389.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/4.923, allocations: 0 / 3.309 GB, free: 389.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/4.923, allocations: 7.938 kB / 3.309 GB, free: 389.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/4.923, allocations: 3.219 kB / 3.309 GB, free: 389.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/4.923, allocations: 129.3 kB / 3.309 GB, free: 389 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.0009075/4.924, allocations: 0.7879 MB / 3.31 GB, free: 388.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/4.924, allocations: 79.03 kB / 3.31 GB, free: 388.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/4.925, allocations: 188.9 kB / 3.31 GB, free: 388.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/4.925, allocations: 34.52 kB / 3.31 GB, free: 388 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/4.925, allocations: 0 / 3.31 GB, free: 388 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0005888/4.925, allocations: 225.6 kB / 3.311 GB, free: 387.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/4.925, allocations: 51.41 kB / 3.311 GB, free: 387.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/4.926, allocations: 237.4 kB / 3.311 GB, free: 387.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/4.926, allocations: 29.7 kB / 3.311 GB, free: 387.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/4.926, allocations: 147.6 kB / 3.311 GB, free: 387.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/4.926, allocations: 48.8 kB / 3.311 GB, free: 387.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/4.926, allocations: 0 / 3.311 GB, free: 387.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.561e-05/4.926, allocations: 330.2 kB / 3.312 GB, free: 387.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/4.926, allocations: 45.34 kB / 3.312 GB, free: 387.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/4.926, allocations: 108.3 kB / 3.312 GB, free: 387 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/4.926, allocations: 53.45 kB / 3.312 GB, free: 387 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/4.926, allocations: 4 kB / 3.312 GB, free: 387 MB / 1.167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002819/4.926, allocations: 160 kB / 3.312 GB, free: 386.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.953e-05/4.926, allocations: 364.6 kB / 3.312 GB, free: 386.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/4.926, allocations: 0 / 3.312 GB, free: 386.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/4.927, allocations: 11.84 kB / 3.312 GB, free: 386.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/4.927, allocations: 26.45 kB / 3.312 GB, free: 386.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/4.927, allocations: 4.062 kB / 3.312 GB, free: 386.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/4.927, allocations: 35.45 kB / 3.312 GB, free: 386.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/4.927, allocations: 7.906 kB / 3.312 GB, free: 386.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/4.927, allocations: 5.719 kB / 3.312 GB, free: 386.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000241/4.927, allocations: 114.6 kB / 3.312 GB, free: 386.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/4.927, allocations: 0 / 3.312 GB, free: 386.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/4.927, allocations: 3.969 kB / 3.312 GB, free: 386.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/4.927, allocations: 18.98 kB / 3.312 GB, free: 386.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/4.927, allocations: 7.953 kB / 3.312 GB, free: 386.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/4.927, allocations: 33.2 kB / 3.312 GB, free: 386.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/4.927, allocations: 3.875 kB / 3.312 GB, free: 386.4 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 (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 0.0001121/4.928, allocations: 221.6 kB / 3.313 GB, free: 386.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/4.928, allocations: 26.23 kB / 3.313 GB, free: 386.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/4.928, allocations: 172.8 kB / 3.313 GB, free: 386.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/4.928, allocations: 0 / 3.313 GB, free: 386.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/4.928, allocations: 0 / 3.313 GB, free: 386.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/4.928, allocations: 3.281 kB / 3.313 GB, free: 386.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/4.929, allocations: 0.586 MB / 3.313 GB, free: 385.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/4.929, allocations: 2.875 kB / 3.313 GB, free: 385.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/4.929, allocations: 31.83 kB / 3.313 GB, free: 385.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/4.929, allocations: 3.688 kB / 3.313 GB, free: 385.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/4.929, allocations: 6.984 kB / 3.313 GB, free: 385.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/4.929, allocations: 3.438 kB / 3.313 GB, free: 385.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/4.929, allocations: 0 / 3.313 GB, free: 385.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/4.929, allocations: 386.5 kB / 3.314 GB, free: 385.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/4.929, allocations: 110.9 kB / 3.314 GB, free: 385.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/4.929, allocations: 7.906 kB / 3.314 GB, free: 385 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/4.93, allocations: 26.94 kB / 3.314 GB, free: 385 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/4.93, allocations: 19.19 kB / 3.314 GB, free: 385 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/4.93, allocations: 7.188 kB / 3.314 GB, free: 385 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001299/4.93, allocations: 195 kB / 3.314 GB, free: 384.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/4.93, allocations: 0 / 3.314 GB, free: 384.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006775/4.931, allocations: 175 kB / 3.314 GB, free: 384.8 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 (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.001585/4.932, allocations: 2.204 MB / 3.317 GB, free: 383.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004033/4.933, allocations: 170.5 kB / 3.317 GB, free: 383 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/4.933, allocations: 0 / 3.317 GB, free: 383 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/4.933, allocations: 63.89 kB / 3.317 GB, free: 383 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/4.933, allocations: 141.3 kB / 3.317 GB, free: 382.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/4.935, allocations: 1.767 MB / 3.319 GB, free: 381.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/4.935, allocations: 0.7599 MB / 3.319 GB, free: 380.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002124/4.936, allocations: 67.28 kB / 3.319 GB, free: 380.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/4.936, allocations: 70.39 kB / 3.319 GB, free: 380.7 MB / 1.167 GB Notification: Performance of SimCode: time 3.81e-07/4.936, allocations: 0 / 3.319 GB, free: 380.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/4.967, allocations: 20.26 MB / 3.339 GB, free: 361.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/4.967, allocations: 233.4 kB / 3.339 GB, free: 361.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/7.38, allocations: 0 / 3.339 GB, free: 361.5 MB / 1.167 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