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.336/2.336, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001156/0.001156, allocations: 175.4 kB / 498.1 MB, free: 5.77 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.694/1.694, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0009574/0.0009574, allocations: 104 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003681, allocations: 7.312 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.104/4.422, allocations: 1.928 GB / 3.151 GB, free: 85.64 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/4.422, allocations: 95.94 kB / 3.151 GB, free: 85.54 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.057/7.479, allocations: 0.9315 GB / 4.082 GB, free: 47.83 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.425e-06/7.479, allocations: 4 kB / 4.082 GB, free: 47.83 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001837/7.479, allocations: 35.98 kB / 4.083 GB, free: 47.79 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.005159/7.485, allocations: 1.756 MB / 4.084 GB, free: 45.98 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/7.485, allocations: 12.03 kB / 4.084 GB, free: 45.97 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004491/7.485, allocations: 130.8 kB / 4.084 GB, free: 45.83 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/7.488, allocations: 417.9 kB / 4.085 GB, free: 45.42 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/7.491, allocations: 1.078 MB / 4.086 GB, free: 44.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/7.491, allocations: 69.95 kB / 4.086 GB, free: 44.23 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/7.492, allocations: 84 kB / 4.086 GB, free: 44.15 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/7.493, allocations: 0.839 MB / 4.087 GB, free: 43.31 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/7.493, allocations: 3.984 kB / 4.087 GB, free: 43.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/7.493, allocations: 32 kB / 4.087 GB, free: 43.27 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/7.493, allocations: 30 kB / 4.087 GB, free: 43.24 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/7.495, allocations: 0.8003 MB / 4.088 GB, free: 42.44 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.005143/7.5, allocations: 3.67 MB / 4.091 GB, free: 38.48 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/7.501, allocations: 1.099 MB / 4.092 GB, free: 37.26 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/7.502, allocations: 404.9 kB / 4.093 GB, free: 36.79 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/7.502, allocations: 47.06 kB / 4.093 GB, free: 36.73 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/7.502, allocations: 0 / 4.093 GB, free: 36.73 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.002021/7.504, allocations: 1.005 MB / 4.094 GB, free: 35.73 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/7.504, allocations: 59.97 kB / 4.094 GB, free: 35.66 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/7.505, allocations: 0.7179 MB / 4.094 GB, free: 34.92 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/7.505, allocations: 45.7 kB / 4.094 GB, free: 34.87 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/7.506, allocations: 484.1 kB / 4.095 GB, free: 34.39 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/7.506, allocations: 216.8 kB / 4.095 GB, free: 34.17 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/7.506, allocations: 8 kB / 4.095 GB, free: 34.16 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/7.506, allocations: 337.9 kB / 4.095 GB, free: 33.83 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/7.506, allocations: 260.9 kB / 4.096 GB, free: 33.57 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/7.507, allocations: 407.7 kB / 4.096 GB, free: 33.12 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/7.507, allocations: 322 kB / 4.096 GB, free: 32.81 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/7.507, allocations: 0 / 4.096 GB, free: 32.81 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001203/7.508, allocations: 0.7634 MB / 4.097 GB, free: 32.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/7.509, allocations: 455.2 kB / 4.098 GB, free: 31.56 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/7.509, allocations: 0 / 4.098 GB, free: 31.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/7.509, allocations: 4 kB / 4.098 GB, free: 31.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/7.509, allocations: 135.9 kB / 4.098 GB, free: 31.42 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/7.509, allocations: 7.938 kB / 4.098 GB, free: 31.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/7.51, allocations: 139.3 kB / 4.098 GB, free: 31.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/7.511, allocations: 31.98 kB / 4.098 GB, free: 31.25 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/7.511, allocations: 4.781 kB / 4.098 GB, free: 31.24 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/7.512, allocations: 0.6378 MB / 4.099 GB, free: 30.61 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/7.512, allocations: 3.938 kB / 4.099 GB, free: 30.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-06/7.512, allocations: 4 kB / 4.099 GB, free: 30.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/7.512, allocations: 136 kB / 4.099 GB, free: 30.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/7.512, allocations: 11.94 kB / 4.099 GB, free: 30.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/7.513, allocations: 139.3 kB / 4.099 GB, free: 30.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/7.513, allocations: 31.94 kB / 4.099 GB, free: 30.29 MB / 1.167 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 () * Number of clocked 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.0006086/7.514, allocations: 377 kB / 4.099 GB, free: 29.91 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/7.514, allocations: 110.8 kB / 4.099 GB, free: 29.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/7.516, allocations: 0.8016 MB / 4.1 GB, free: 28.99 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/7.516, allocations: 4 kB / 4.1 GB, free: 28.98 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/7.516, allocations: 7.953 kB / 4.1 GB, free: 28.98 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/7.517, allocations: 0.9502 MB / 4.101 GB, free: 27.94 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/7.521, allocations: 2.265 MB / 4.103 GB, free: 25.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/7.521, allocations: 4 kB / 4.103 GB, free: 25.53 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/7.521, allocations: 152.2 kB / 4.103 GB, free: 25.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/7.521, allocations: 8 kB / 4.103 GB, free: 25.38 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/7.521, allocations: 16 kB / 4.103 GB, free: 25.36 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/7.521, allocations: 8 kB / 4.103 GB, free: 25.35 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/7.521, allocations: 7.953 kB / 4.103 GB, free: 25.34 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/7.523, allocations: 1.41 MB / 4.105 GB, free: 23.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/7.524, allocations: 255.7 kB / 4.105 GB, free: 23.54 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/7.524, allocations: 23.95 kB / 4.105 GB, free: 23.51 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/7.525, allocations: 131.8 kB / 4.105 GB, free: 23.38 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/7.525, allocations: 36.39 kB / 4.105 GB, free: 23.35 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/7.525, allocations: 39.92 kB / 4.105 GB, free: 23.31 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008032/7.526, allocations: 0.5744 MB / 4.106 GB, free: 22.72 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/7.526, allocations: 0 / 4.106 GB, free: 22.72 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002632/7.529, allocations: 0.776 MB / 4.107 GB, free: 21.95 MB / 1.167 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 () * Number of clocked 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.007255/7.536, allocations: 5.06 MB / 4.112 GB, free: 16.59 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002131/7.538, allocations: 0.9897 MB / 4.113 GB, free: 15.61 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/7.538, allocations: 0 / 4.113 GB, free: 15.61 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006021/7.539, allocations: 359 kB / 4.113 GB, free: 15.25 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/7.542, allocations: 0.6717 MB / 4.114 GB, free: 14.59 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/7.553, allocations: 6.895 MB / 4.12 GB, free: 7.438 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/7.553, allocations: 1.151 MB / 4.121 GB, free: 6.258 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001261/7.555, allocations: 292.2 kB / 4.122 GB, free: 5.969 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/7.555, allocations: 407.3 kB / 4.122 GB, free: 5.57 MB / 1.167 GB Notification: Performance of SimCode: time 1.472e-06/7.555, allocations: 0 / 4.122 GB, free: 5.57 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6764/8.232, allocations: 63.45 MB / 4.184 GB, free: 224.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/8.232, allocations: 235.1 kB / 4.184 GB, free: 224 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.055/12.29, allocations: 0 / 4.184 GB, free: 224 MB / 1.167 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