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.198/2.198, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001205/0.001205, allocations: 172.8 kB / 487.4 MB, free: 5.047 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.571/1.571, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 103.8 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.939e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2462, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.289/4.536, allocations: 1.867 GB / 3.073 GB, free: 13.37 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/4.536, allocations: 79.95 kB / 3.073 GB, free: 13.29 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.939/5.475, allocations: 219.4 MB / 3.288 GB, free: 260.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.243e-06/5.475, allocations: 0 / 3.288 GB, free: 260.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.375e-05/5.475, allocations: 8 kB / 3.288 GB, free: 260.1 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.0007375/5.476, allocations: 0.5686 MB / 3.288 GB, free: 259.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/5.476, allocations: 8.031 kB / 3.288 GB, free: 259.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/5.476, allocations: 55.59 kB / 3.288 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/5.477, allocations: 301.5 kB / 3.288 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/5.477, allocations: 4 kB / 3.288 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/5.477, allocations: 12 kB / 3.289 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/5.477, allocations: 87.92 kB / 3.289 GB, free: 259 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/5.477, allocations: 160.2 kB / 3.289 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/5.477, allocations: 0 / 3.289 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/5.477, allocations: 0 / 3.289 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/5.477, allocations: 7.984 kB / 3.289 GB, free: 258.8 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.0007521/5.478, allocations: 0.7425 MB / 3.289 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/5.478, allocations: 66.56 kB / 3.29 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/5.478, allocations: 52.91 kB / 3.29 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/5.478, allocations: 186.2 kB / 3.29 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/5.478, allocations: 38.69 kB / 3.29 GB, free: 257.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/5.478, allocations: 0 / 3.29 GB, free: 257.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003889/5.479, allocations: 129.5 kB / 3.29 GB, free: 257.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/5.479, allocations: 59.41 kB / 3.29 GB, free: 257.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/5.479, allocations: 184.5 kB / 3.29 GB, free: 257.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/5.479, allocations: 25.7 kB / 3.29 GB, free: 257.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/5.479, allocations: 156.1 kB / 3.29 GB, free: 257 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/5.479, allocations: 31.55 kB / 3.29 GB, free: 257 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/5.479, allocations: 0 / 3.29 GB, free: 257 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/5.479, allocations: 334.8 kB / 3.291 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/5.479, allocations: 24.09 kB / 3.291 GB, free: 256.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/5.479, allocations: 82.78 kB / 3.291 GB, free: 256.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/5.479, allocations: 35.98 kB / 3.291 GB, free: 256.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/5.479, allocations: 4 kB / 3.291 GB, free: 256.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001536/5.479, allocations: 137.3 kB / 3.291 GB, free: 256.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.94e-05/5.48, allocations: 360 kB / 3.291 GB, free: 256 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/5.48, allocations: 4 kB / 3.291 GB, free: 256 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/5.48, allocations: 3.953 kB / 3.291 GB, free: 256 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/5.48, allocations: 23.98 kB / 3.291 GB, free: 256 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/5.48, allocations: 4.062 kB / 3.291 GB, free: 256 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/5.48, allocations: 27.91 kB / 3.291 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/5.48, allocations: 8 kB / 3.291 GB, free: 255.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/5.48, allocations: 4 kB / 3.291 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001018/5.48, allocations: 71.89 kB / 3.291 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-06/5.48, allocations: 0 / 3.291 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-06/5.48, allocations: 0 / 3.291 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/5.48, allocations: 27.92 kB / 3.291 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/5.48, allocations: 4 kB / 3.291 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/5.48, allocations: 23.92 kB / 3.291 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/5.48, allocations: 11.98 kB / 3.292 GB, free: 255.8 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 5.551e-05/5.48, allocations: 110.3 kB / 3.292 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001309/5.481, allocations: 105.4 kB / 3.292 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/5.481, allocations: 23.72 kB / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/5.481, allocations: 115.4 kB / 3.292 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/5.481, allocations: 4 kB / 3.292 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/5.481, allocations: 0 / 3.292 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/5.481, allocations: 8.359 kB / 3.292 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/5.481, allocations: 0.5086 MB / 3.292 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/5.481, allocations: 8.031 kB / 3.292 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/5.481, allocations: 23.98 kB / 3.292 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/5.481, allocations: 7.938 kB / 3.292 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/5.482, allocations: 3.953 kB / 3.292 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/5.482, allocations: 7.938 kB / 3.292 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/5.482, allocations: 0 / 3.292 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/5.482, allocations: 349.2 kB / 3.293 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/5.482, allocations: 104.9 kB / 3.293 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/5.482, allocations: 4 kB / 3.293 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/5.482, allocations: 19.98 kB / 3.293 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/5.482, allocations: 7.984 kB / 3.293 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/5.482, allocations: 11.94 kB / 3.293 GB, free: 254.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 8.292e-05/5.482, allocations: 148.5 kB / 3.293 GB, free: 254 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.482, allocations: 3.938 kB / 3.293 GB, free: 254 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005693/5.483, allocations: 163.7 kB / 3.293 GB, free: 253.9 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.001456/5.484, allocations: 2.271 MB / 3.295 GB, free: 251.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000193/5.484, allocations: 121.2 kB / 3.296 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/5.484, allocations: 0 / 3.296 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/5.484, allocations: 47.92 kB / 3.296 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/5.485, allocations: 108.9 kB / 3.296 GB, free: 251.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/5.486, allocations: 366.1 kB / 3.296 GB, free: 250.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/5.486, allocations: 0.7639 MB / 3.297 GB, free: 250.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002321/5.486, allocations: 74.64 kB / 3.297 GB, free: 250 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/5.486, allocations: 63.36 kB / 3.297 GB, free: 249.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/5.486, allocations: 0 / 3.297 GB, free: 249.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/5.514, allocations: 12.33 MB / 3.309 GB, free: 237.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/5.515, allocations: 169.2 kB / 3.309 GB, free: 237.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/7.509, allocations: 0 / 3.309 GB, free: 237.5 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