Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",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.329/2.329, 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.001537/0.001537, allocations: 183.3 kB / 498.1 MB, free: 5.738 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.542/1.542, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.001062/0.001062, allocations: 109.7 kB / 0.9346 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 8.375 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.484, allocations: 413.2 MB / 1.626 GB, free: 4 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.484, allocations: 89.52 kB / 1.626 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.3939/1.878, allocations: 172.1 MB / 1.795 GB, free: 9.086 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.695e-06/1.878, allocations: 0 / 1.795 GB, free: 9.086 MB / 1.12 GB Notification: Performance of Transformations before backend: time 5.728e-05/1.878, allocations: 15.98 kB / 1.795 GB, free: 9.07 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001995/1.88, allocations: 0.756 MB / 1.795 GB, free: 8.262 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/1.88, allocations: 8.031 kB / 1.795 GB, free: 8.254 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/1.88, allocations: 50.55 kB / 1.795 GB, free: 8.195 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/1.881, allocations: 47.53 kB / 1.795 GB, free: 8.148 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03717/1.918, allocations: 14.73 MB / 1.81 GB, free: 9.23 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/1.918, allocations: 16.27 kB / 1.81 GB, free: 9.215 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/1.918, allocations: 20 kB / 1.81 GB, free: 9.195 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/1.918, allocations: 177.5 kB / 1.81 GB, free: 9.02 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.919, allocations: 0 / 1.81 GB, free: 9.02 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/1.919, allocations: 12 kB / 1.81 GB, free: 9.008 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.919, allocations: 4 kB / 1.81 GB, free: 9.004 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/1.919, allocations: 144.1 kB / 1.81 GB, free: 8.863 MB / 1.135 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.001489/1.92, allocations: 0.8256 MB / 1.811 GB, free: 7.938 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/1.921, allocations: 118.6 kB / 1.811 GB, free: 7.812 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/1.921, allocations: 336.4 kB / 1.811 GB, free: 7.41 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/1.921, allocations: 38.52 kB / 1.811 GB, free: 7.363 MB / 1.135 GB Notification: Performance of pre-optimization done (n=12): time 2.595e-06/1.921, allocations: 0 / 1.811 GB, free: 7.363 MB / 1.135 GB Notification: Performance of matching and sorting (n=12): time 0.0006546/1.922, allocations: 217.3 kB / 1.812 GB, free: 7.145 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/1.922, allocations: 55.41 kB / 1.812 GB, free: 7.078 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/1.922, allocations: 288.9 kB / 1.812 GB, free: 6.793 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/1.922, allocations: 29.7 kB / 1.812 GB, free: 6.758 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/1.923, allocations: 196.2 kB / 1.812 GB, free: 6.559 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/1.923, allocations: 43.38 kB / 1.812 GB, free: 6.516 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/1.923, allocations: 4 kB / 1.812 GB, free: 6.512 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.923, allocations: 342.8 kB / 1.813 GB, free: 6.168 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/1.923, allocations: 47.97 kB / 1.813 GB, free: 6.121 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/1.923, allocations: 106.8 kB / 1.813 GB, free: 5.992 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/1.923, allocations: 47.97 kB / 1.813 GB, free: 5.945 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.923, allocations: 3.938 kB / 1.813 GB, free: 5.941 MB / 1.135 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003765/1.924, allocations: 181.1 kB / 1.813 GB, free: 5.758 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.924, allocations: 182 kB / 1.813 GB, free: 5.566 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/1.924, allocations: 0 / 1.813 GB, free: 5.566 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.924, allocations: 4.188 kB / 1.813 GB, free: 5.562 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/1.924, allocations: 31.92 kB / 1.813 GB, free: 5.531 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.924, allocations: 11.92 kB / 1.813 GB, free: 5.52 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/1.924, allocations: 19.98 kB / 1.813 GB, free: 5.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/1.924, allocations: 8 kB / 1.813 GB, free: 5.492 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.924, allocations: 5.094 kB / 1.813 GB, free: 5.488 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002892/1.925, allocations: 115.9 kB / 1.813 GB, free: 5.375 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/1.925, allocations: 0 / 1.813 GB, free: 5.375 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/1.925, allocations: 0 / 1.813 GB, free: 5.375 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.925, allocations: 35.97 kB / 1.813 GB, free: 5.34 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/1.925, allocations: 4 kB / 1.813 GB, free: 5.336 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/1.925, allocations: 39.81 kB / 1.813 GB, free: 5.297 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/1.925, allocations: 7.984 kB / 1.813 GB, free: 5.289 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0002038/1.925, allocations: 221.1 kB / 1.814 GB, free: 5.062 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/1.925, allocations: 39.53 kB / 1.814 GB, free: 5.023 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/1.926, allocations: 224.6 kB / 1.814 GB, free: 4.801 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.926, allocations: 7.953 kB / 1.814 GB, free: 4.793 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.926, allocations: 0 / 1.814 GB, free: 4.793 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.926, allocations: 0 / 1.814 GB, free: 4.793 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009776/1.927, allocations: 0.5996 MB / 1.814 GB, free: 4.133 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.927, allocations: 0 / 1.814 GB, free: 4.133 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.927, allocations: 39.95 kB / 1.814 GB, free: 4.094 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.927, allocations: 4 kB / 1.814 GB, free: 4.09 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/1.927, allocations: 4 kB / 1.814 GB, free: 4.086 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.927, allocations: 4.094 kB / 1.814 GB, free: 4.082 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.927, allocations: 3.938 kB / 1.814 GB, free: 4.078 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/1.927, allocations: 364 kB / 1.815 GB, free: 3.68 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/1.928, allocations: 112.7 kB / 1.815 GB, free: 3.551 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/1.928, allocations: 15.98 kB / 1.815 GB, free: 3.535 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/1.928, allocations: 19.89 kB / 1.815 GB, free: 3.516 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/1.928, allocations: 11.98 kB / 1.815 GB, free: 3.504 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/1.928, allocations: 11.95 kB / 1.815 GB, free: 3.492 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0002341/1.928, allocations: 235.2 kB / 1.815 GB, free: 3.266 MB / 1.135 GB Notification: Performance of sort global known variables: time 7.51e-07/1.928, allocations: 4 kB / 1.815 GB, free: 3.262 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0006807/1.929, allocations: 167.8 kB / 1.815 GB, free: 3.098 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001371/1.93, allocations: 1.271 MB / 1.817 GB, free: 1.785 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005133/1.931, allocations: 191.7 kB / 1.817 GB, free: 1.598 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.931, allocations: 0 / 1.817 GB, free: 1.598 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/1.931, allocations: 87.83 kB / 1.817 GB, free: 1.512 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/1.932, allocations: 146.1 kB / 1.817 GB, free: 1.371 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/1.935, allocations: 1.845 MB / 1.819 GB, free: 15.46 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/1.935, allocations: 0.8116 MB / 1.82 GB, free: 14.63 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003098/1.935, allocations: 63.41 kB / 1.82 GB, free: 14.56 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.936, allocations: 115.3 kB / 1.82 GB, free: 14.45 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/1.936, allocations: 0 / 1.82 GB, free: 14.45 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/1.963, allocations: 10.09 MB / 1.83 GB, free: 4.586 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.963, allocations: 232.9 kB / 1.83 GB, free: 4.34 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/4.381, allocations: 0 / 1.83 GB, free: 4.34 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat does not exist to compare? outputFormat=mat