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.319/2.319, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001119/0.001119, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.63/1.63, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009485/0.0009485, allocations: 93.66 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.129e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2625, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.597/4.86, allocations: 1.928 GB / 3.14 GB, free: 341.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/4.86, allocations: 90.62 kB / 3.14 GB, free: 341.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.12/7.98, allocations: 0.9307 GB / 4.071 GB, free: 223.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.392e-06/7.98, allocations: 0 / 4.071 GB, free: 223.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001825/7.98, allocations: 35.3 kB / 4.071 GB, free: 223.2 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.004542/7.985, allocations: 1.528 MB / 4.073 GB, free: 222.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/7.985, allocations: 15.53 kB / 4.073 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003759/7.985, allocations: 123.3 kB / 4.073 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/7.988, allocations: 416 kB / 4.073 GB, free: 222.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/7.991, allocations: 1.074 MB / 4.074 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/7.991, allocations: 61.09 kB / 4.074 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/7.992, allocations: 98.08 kB / 4.074 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/7.993, allocations: 0.7958 MB / 4.075 GB, free: 222 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/7.993, allocations: 0 / 4.075 GB, free: 222 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/7.993, allocations: 31.84 kB / 4.075 GB, free: 222 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/7.993, allocations: 29 kB / 4.075 GB, free: 222 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/7.995, allocations: 0.7117 MB / 4.076 GB, free: 222 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.005077/8, allocations: 3.684 MB / 4.08 GB, free: 220.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/8.001, allocations: 1.059 MB / 4.081 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/8.001, allocations: 349.2 kB / 4.081 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/8.002, allocations: 401.2 kB / 4.081 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/8.002, allocations: 48.95 kB / 4.081 GB, free: 219.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 2.936e-06/8.002, allocations: 0 / 4.081 GB, free: 219.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.001461/8.004, allocations: 0.6673 MB / 4.082 GB, free: 219.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/8.004, allocations: 63.5 kB / 4.082 GB, free: 219.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/8.005, allocations: 0.711 MB / 4.083 GB, free: 219.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/8.005, allocations: 38.48 kB / 4.083 GB, free: 219.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/8.005, allocations: 480.9 kB / 4.083 GB, free: 218.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/8.005, allocations: 217.4 kB / 4.083 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/8.005, allocations: 13.72 kB / 4.083 GB, free: 218.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/8.005, allocations: 328.9 kB / 4.084 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/8.006, allocations: 226.4 kB / 4.084 GB, free: 218.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/8.006, allocations: 369.9 kB / 4.084 GB, free: 218.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/8.006, allocations: 283 kB / 4.085 GB, free: 218.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/8.007, allocations: 3.609 kB / 4.085 GB, free: 218.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001074/8.008, allocations: 0.685 MB / 4.085 GB, free: 218.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/8.008, allocations: 452.3 kB / 4.086 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/8.008, allocations: 0 / 4.086 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/8.008, allocations: 6.156 kB / 4.086 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/8.008, allocations: 137.4 kB / 4.086 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/8.008, allocations: 7.266 kB / 4.086 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/8.01, allocations: 144.5 kB / 4.086 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/8.01, allocations: 25.19 kB / 4.086 GB, free: 217.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/8.01, allocations: 6.844 kB / 4.086 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008119/8.01, allocations: 0.5688 MB / 4.087 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/8.01, allocations: 0 / 4.087 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/8.011, allocations: 7.328 kB / 4.087 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/8.011, allocations: 140.1 kB / 4.087 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/8.011, allocations: 3.875 kB / 4.087 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/8.012, allocations: 139.4 kB / 4.087 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/8.012, allocations: 23.92 kB / 4.087 GB, free: 217.8 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.0001933/8.012, allocations: 140.5 kB / 4.087 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/8.013, allocations: 103.3 kB / 4.087 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/8.014, allocations: 0.7125 MB / 4.088 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/8.014, allocations: 17.5 kB / 4.088 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/8.014, allocations: 7.797 kB / 4.088 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009024/8.015, allocations: 0.8793 MB / 4.089 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/8.019, allocations: 2.196 MB / 4.091 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/8.019, allocations: 3.25 kB / 4.091 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/8.019, allocations: 148.6 kB / 4.091 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/8.019, allocations: 15.36 kB / 4.091 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/8.019, allocations: 20.33 kB / 4.091 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/8.02, allocations: 11.42 kB / 4.091 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/8.02, allocations: 2.438 kB / 4.091 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/8.021, allocations: 1.294 MB / 4.092 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/8.022, allocations: 257.3 kB / 4.093 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/8.022, allocations: 24.7 kB / 4.093 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/8.023, allocations: 129.9 kB / 4.093 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/8.023, allocations: 54.55 kB / 4.093 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/8.023, allocations: 18.91 kB / 4.093 GB, free: 215.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007615/8.024, allocations: 0.5632 MB / 4.093 GB, free: 215.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/8.024, allocations: 0 / 4.093 GB, free: 215.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002757/8.027, allocations: 0.7722 MB / 4.094 GB, free: 215.6 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.005245/8.032, allocations: 4.951 MB / 4.099 GB, free: 212.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001407/8.034, allocations: 0.906 MB / 4.1 GB, free: 212.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/8.034, allocations: 3.75 kB / 4.1 GB, free: 212.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/8.034, allocations: 311.8 kB / 4.1 GB, free: 212.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/8.037, allocations: 0.6705 MB / 4.101 GB, free: 212.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/8.041, allocations: 2.015 MB / 4.103 GB, free: 212.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/8.042, allocations: 1.147 MB / 4.104 GB, free: 211.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001594/8.044, allocations: 384.7 kB / 4.104 GB, free: 211.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/8.044, allocations: 402.3 kB / 4.105 GB, free: 211.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.034e-06/8.044, allocations: 0 / 4.105 GB, free: 211.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09633/8.14, allocations: 70.8 MB / 4.174 GB, free: 167.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/8.141, allocations: 204.3 kB / 4.174 GB, free: 166.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.543/12.68, allocations: 0 / 4.174 GB, free: 166.9 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