Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.575/2.575, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001656/0.001656, allocations: 183.9 kB / 0.4902 GB, free: 2.223 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.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.0009562/0.000956, allocations: 106 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 12.97 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2909, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.425/4.716, allocations: 1.869 GB / 3.098 GB, free: 94 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/4.716, allocations: 87.95 kB / 3.098 GB, free: 93.92 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.172/5.888, allocations: 222.4 MB / 3.315 GB, free: 340.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.825e-06/5.888, allocations: 0 / 3.315 GB, free: 340.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.092e-05/5.888, allocations: 8 kB / 3.315 GB, free: 340.6 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.00156/5.889, allocations: 0.6042 MB / 3.316 GB, free: 340 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/5.889, allocations: 8.828 kB / 3.316 GB, free: 340 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.782e-05/5.889, allocations: 50.55 kB / 3.316 GB, free: 339.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/5.89, allocations: 56.81 kB / 3.316 GB, free: 339.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/5.89, allocations: 306.6 kB / 3.316 GB, free: 339.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/5.89, allocations: 11.95 kB / 3.316 GB, free: 339.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/5.891, allocations: 16 kB / 3.316 GB, free: 339.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/5.891, allocations: 204.1 kB / 3.316 GB, free: 339.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/5.891, allocations: 0 / 3.316 GB, free: 339.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/5.891, allocations: 4 kB / 3.316 GB, free: 339.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/5.891, allocations: 4 kB / 3.316 GB, free: 339.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/5.891, allocations: 128.8 kB / 3.317 GB, free: 339.1 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.001126/5.892, allocations: 0.8004 MB / 3.317 GB, free: 338.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/5.893, allocations: 86.47 kB / 3.317 GB, free: 338.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/5.893, allocations: 182.3 kB / 3.318 GB, free: 337.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/5.893, allocations: 38.56 kB / 3.318 GB, free: 337.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/5.893, allocations: 0 / 3.318 GB, free: 337.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.000647/5.894, allocations: 221.4 kB / 3.318 GB, free: 337.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/5.894, allocations: 51.41 kB / 3.318 GB, free: 337.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/5.894, allocations: 238.2 kB / 3.318 GB, free: 337.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/5.894, allocations: 29.7 kB / 3.318 GB, free: 337.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/5.894, allocations: 152 kB / 3.318 GB, free: 337.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/5.894, allocations: 35.45 kB / 3.318 GB, free: 337.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/5.894, allocations: 0 / 3.318 GB, free: 337.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/5.894, allocations: 334.8 kB / 3.319 GB, free: 336.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/5.894, allocations: 43.97 kB / 3.319 GB, free: 336.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/5.894, allocations: 102.8 kB / 3.319 GB, free: 336.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/5.894, allocations: 55.97 kB / 3.319 GB, free: 336.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/5.894, allocations: 0 / 3.319 GB, free: 336.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003123/5.895, allocations: 165.3 kB / 3.319 GB, free: 336.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/5.895, allocations: 356 kB / 3.319 GB, free: 336.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/5.895, allocations: 0 / 3.319 GB, free: 336.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/5.895, allocations: 4.094 kB / 3.319 GB, free: 336.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/5.895, allocations: 31.86 kB / 3.319 GB, free: 336 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/5.895, allocations: 8 kB / 3.319 GB, free: 336 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/5.895, allocations: 35.8 kB / 3.319 GB, free: 336 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/5.895, allocations: 4 kB / 3.319 GB, free: 336 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/5.895, allocations: 4 kB / 3.319 GB, free: 336 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002476/5.896, allocations: 116.4 kB / 3.32 GB, free: 335.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/5.896, allocations: 3.938 kB / 3.32 GB, free: 335.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/5.896, allocations: 4 kB / 3.32 GB, free: 335.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/5.896, allocations: 19.98 kB / 3.32 GB, free: 335.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/5.896, allocations: 7.984 kB / 3.32 GB, free: 335.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/5.896, allocations: 23.92 kB / 3.32 GB, free: 335.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/5.896, allocations: 11.94 kB / 3.32 GB, free: 335.8 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.0001444/5.896, allocations: 221.7 kB / 3.32 GB, free: 335.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/5.896, allocations: 23.72 kB / 3.32 GB, free: 335.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/5.897, allocations: 167.3 kB / 3.32 GB, free: 335.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/5.897, allocations: 4 kB / 3.32 GB, free: 335.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/5.897, allocations: 0 / 3.32 GB, free: 335.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/5.897, allocations: 0 / 3.32 GB, free: 335.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/5.897, allocations: 0.5898 MB / 3.321 GB, free: 334.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/5.897, allocations: 8.219 kB / 3.321 GB, free: 334.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/5.898, allocations: 31.98 kB / 3.321 GB, free: 334.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/5.898, allocations: 0 / 3.321 GB, free: 334.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/5.898, allocations: 7.984 kB / 3.321 GB, free: 334.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/5.898, allocations: 7.953 kB / 3.321 GB, free: 334.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/5.898, allocations: 3.938 kB / 3.321 GB, free: 334.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/5.898, allocations: 381.1 kB / 3.321 GB, free: 334.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/5.898, allocations: 112.8 kB / 3.321 GB, free: 334.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/5.898, allocations: 7.953 kB / 3.321 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/5.898, allocations: 19.98 kB / 3.321 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/5.898, allocations: 11.98 kB / 3.321 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/5.898, allocations: 4 kB / 3.321 GB, free: 334 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001605/5.898, allocations: 197.9 kB / 3.321 GB, free: 333.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.898, allocations: 3.938 kB / 3.321 GB, free: 333.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007529/5.899, allocations: 179.8 kB / 3.322 GB, free: 333.6 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.001996/5.901, allocations: 2.193 MB / 3.324 GB, free: 331.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004519/5.902, allocations: 167.8 kB / 3.324 GB, free: 331.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/5.902, allocations: 0 / 3.324 GB, free: 331.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/5.902, allocations: 71.83 kB / 3.324 GB, free: 331.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/5.903, allocations: 127.2 kB / 3.324 GB, free: 331 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/5.905, allocations: 1.771 MB / 3.326 GB, free: 329.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/5.905, allocations: 0.7638 MB / 3.326 GB, free: 328.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000259/5.905, allocations: 74.16 kB / 3.327 GB, free: 328.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/5.905, allocations: 63.42 kB / 3.327 GB, free: 328.2 MB / 1.167 GB Notification: Performance of SimCode: time 5.11e-07/5.905, allocations: 0 / 3.327 GB, free: 328.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03971/5.945, allocations: 20.28 MB / 3.346 GB, free: 308.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/5.945, allocations: 237.8 kB / 3.347 GB, free: 307.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/8.54, allocations: 0 / 3.347 GB, free: 307.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat does not exist to compare? outputFormat=mat