Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunction,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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.201/2.201, 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.001151/0.001151, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.404/1.404, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0009035/0.0009035, allocations: 99.81 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.717e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2288, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.539/4.768, allocations: 1.927 GB / 3.133 GB, free: 349.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/4.768, allocations: 91.3 kB / 3.133 GB, free: 349.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.031/7.799, allocations: 0.9206 GB / 4.054 GB, free: 223.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.114e-06/7.799, allocations: 3.531 kB / 4.054 GB, free: 223.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001255/7.799, allocations: 38.5 kB / 4.054 GB, free: 223.8 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003638/7.803, allocations: 1.533 MB / 4.056 GB, free: 223.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/7.803, allocations: 11.08 kB / 4.056 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/7.806, allocations: 425.4 kB / 4.056 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/7.808, allocations: 1.071 MB / 4.057 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/7.808, allocations: 23.59 kB / 4.057 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/7.808, allocations: 52.47 kB / 4.057 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/7.809, allocations: 0.6778 MB / 4.058 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/7.81, allocations: 0.6913 MB / 4.058 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/7.81, allocations: 0 / 4.058 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/7.81, allocations: 3.969 kB / 4.058 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/7.811, allocations: 27.56 kB / 4.058 GB, free: 222.7 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.004279/7.815, allocations: 3.493 MB / 4.062 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/7.816, allocations: 1.046 MB / 4.063 GB, free: 220.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/7.816, allocations: 338.4 kB / 4.063 GB, free: 220.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/7.817, allocations: 400.3 kB / 4.064 GB, free: 220.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/7.817, allocations: 38.12 kB / 4.064 GB, free: 220.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 4.218e-06/7.817, allocations: 3.25 kB / 4.064 GB, free: 220.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.00159/7.819, allocations: 0.7285 MB / 4.064 GB, free: 220.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/7.819, allocations: 59.06 kB / 4.064 GB, free: 220 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/7.819, allocations: 0.5964 MB / 4.065 GB, free: 219.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/7.819, allocations: 25.7 kB / 4.065 GB, free: 219.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/7.82, allocations: 489.4 kB / 4.065 GB, free: 219.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/7.82, allocations: 204.5 kB / 4.066 GB, free: 219.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/7.82, allocations: 3.938 kB / 4.066 GB, free: 219.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/7.82, allocations: 327.5 kB / 4.066 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/7.82, allocations: 219.5 kB / 4.066 GB, free: 219.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/7.821, allocations: 351.7 kB / 4.066 GB, free: 219.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/7.821, allocations: 346.1 kB / 4.067 GB, free: 219.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/7.821, allocations: 0 / 4.067 GB, free: 219.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001149/7.823, allocations: 0.7296 MB / 4.068 GB, free: 219 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/7.823, allocations: 457.2 kB / 4.068 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/7.823, allocations: 0 / 4.068 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/7.823, allocations: 3.812 kB / 4.068 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/7.823, allocations: 140.8 kB / 4.068 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/7.823, allocations: 3.906 kB / 4.068 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/7.824, allocations: 120.1 kB / 4.068 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/7.825, allocations: 25.06 kB / 4.068 GB, free: 218.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/7.825, allocations: 5.375 kB / 4.068 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009731/7.825, allocations: 0.585 MB / 4.069 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/7.826, allocations: 3.938 kB / 4.069 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/7.826, allocations: 7.297 kB / 4.069 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/7.826, allocations: 129.6 kB / 4.069 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/7.826, allocations: 7 kB / 4.069 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/7.827, allocations: 118.4 kB / 4.069 GB, free: 218.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/7.827, allocations: 29.62 kB / 4.069 GB, free: 218.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001616/7.827, allocations: 119.1 kB / 4.069 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001094/7.828, allocations: 0.6613 MB / 4.07 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/7.829, allocations: 101.2 kB / 4.07 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/7.83, allocations: 0.7386 MB / 4.071 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/7.83, allocations: 6.938 kB / 4.071 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/7.83, allocations: 0 / 4.071 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009917/7.831, allocations: 0.9217 MB / 4.072 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/7.834, allocations: 2.093 MB / 4.074 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/7.834, allocations: 3.969 kB / 4.074 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/7.835, allocations: 151.5 kB / 4.074 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/7.835, allocations: 10.59 kB / 4.074 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/7.835, allocations: 10.86 kB / 4.074 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/7.835, allocations: 3.906 kB / 4.074 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/7.835, allocations: 6.031 kB / 4.074 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/7.837, allocations: 1.312 MB / 4.075 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/7.837, allocations: 249.7 kB / 4.075 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/7.837, allocations: 7.812 kB / 4.075 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/7.838, allocations: 120.5 kB / 4.075 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/7.838, allocations: 52.75 kB / 4.075 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/7.838, allocations: 21.12 kB / 4.076 GB, free: 216.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005477/7.839, allocations: 484.4 kB / 4.076 GB, free: 216.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/7.839, allocations: 0 / 4.076 GB, free: 216.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001929/7.841, allocations: 0.6819 MB / 4.077 GB, free: 216.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.005364/7.846, allocations: 5.232 MB / 4.082 GB, free: 213.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001443/7.848, allocations: 0.8664 MB / 4.083 GB, free: 213.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/7.848, allocations: 0 / 4.083 GB, free: 213.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/7.848, allocations: 302 kB / 4.083 GB, free: 213.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/7.851, allocations: 0.5989 MB / 4.083 GB, free: 213.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/7.855, allocations: 1.945 MB / 4.085 GB, free: 213.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/7.856, allocations: 1.152 MB / 4.086 GB, free: 212.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001421/7.857, allocations: 353.4 kB / 4.087 GB, free: 212.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/7.857, allocations: 397.6 kB / 4.087 GB, free: 212.4 MB / 1.151 GB Notification: Performance of SimCode: time 8.41e-07/7.857, allocations: 0 / 4.087 GB, free: 212.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07937/7.937, allocations: 45.08 MB / 4.131 GB, free: 210.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/7.937, allocations: 178.2 kB / 4.131 GB, free: 210 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.794/11.73, allocations: 4 kB / 4.131 GB, free: 210 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat does not exist to compare? outputFormat=mat