Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.515/2.515, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001238/0.001238, allocations: 178.8 kB / 0.4901 GB, free: 2.238 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.673/1.673, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.00115/0.00115, allocations: 100.1 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004541, allocations: 10.59 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3598, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.951/5.31, allocations: 1.929 GB / 3.158 GB, free: 52.57 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/5.311, allocations: 92.56 kB / 3.158 GB, free: 52.48 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.083/8.394, allocations: 0.9315 GB / 4.09 GB, free: 10.45 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.733e-06/8.394, allocations: 0 / 4.09 GB, free: 10.45 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001131/8.394, allocations: 35.98 kB / 4.09 GB, free: 10.42 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.004012/8.398, allocations: 1.76 MB / 4.091 GB, free: 8.602 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/8.398, allocations: 8.031 kB / 4.091 GB, free: 8.594 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/8.399, allocations: 130.8 kB / 4.091 GB, free: 8.457 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/8.401, allocations: 421.9 kB / 4.092 GB, free: 8.043 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/8.403, allocations: 1.082 MB / 4.093 GB, free: 6.918 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/8.403, allocations: 62 kB / 4.093 GB, free: 6.859 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/8.404, allocations: 84 kB / 4.093 GB, free: 6.777 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/8.405, allocations: 0.8468 MB / 4.094 GB, free: 5.922 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/8.405, allocations: 0 / 4.094 GB, free: 5.922 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-05/8.405, allocations: 32 kB / 4.094 GB, free: 5.891 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/8.405, allocations: 26 kB / 4.094 GB, free: 5.863 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/8.406, allocations: 0.8042 MB / 4.095 GB, free: 5.062 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.004268/8.411, allocations: 3.67 MB / 4.098 GB, free: 1.098 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7829/9.194, allocations: 1.1 MB / 4.099 GB, free: 220.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008033/9.194, allocations: 402 kB / 4.1 GB, free: 219.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/9.194, allocations: 43.66 kB / 4.1 GB, free: 219.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 3.095e-06/9.194, allocations: 0 / 4.1 GB, free: 219.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.002677/9.197, allocations: 1.012 MB / 4.101 GB, free: 219.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/9.197, allocations: 56.28 kB / 4.101 GB, free: 219.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/9.198, allocations: 0.7261 MB / 4.102 GB, free: 219.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/9.198, allocations: 39.02 kB / 4.102 GB, free: 219.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/9.199, allocations: 484 kB / 4.102 GB, free: 219.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/9.199, allocations: 217.8 kB / 4.102 GB, free: 219.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/9.199, allocations: 10.09 kB / 4.102 GB, free: 219.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/9.199, allocations: 333.1 kB / 4.103 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/9.2, allocations: 266.2 kB / 4.103 GB, free: 218.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/9.2, allocations: 407.3 kB / 4.103 GB, free: 218.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/9.201, allocations: 314.5 kB / 4.104 GB, free: 218.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/9.201, allocations: 2.844 kB / 4.104 GB, free: 218.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001361/9.202, allocations: 0.7606 MB / 4.104 GB, free: 218.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/9.202, allocations: 453.4 kB / 4.105 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/9.202, allocations: 1.703 kB / 4.105 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/9.202, allocations: 8.891 kB / 4.105 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/9.203, allocations: 136.1 kB / 4.105 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/9.203, allocations: 4.797 kB / 4.105 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/9.204, allocations: 144 kB / 4.105 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/9.204, allocations: 26.09 kB / 4.105 GB, free: 218.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/9.204, allocations: 6.812 kB / 4.105 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/9.206, allocations: 0.639 MB / 4.106 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/9.206, allocations: 1.406 kB / 4.106 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/9.206, allocations: 8.281 kB / 4.106 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/9.206, allocations: 135 kB / 4.106 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/9.206, allocations: 7.656 kB / 4.106 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/9.207, allocations: 137.9 kB / 4.106 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/9.207, allocations: 26.64 kB / 4.106 GB, free: 218.1 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.0007707/9.208, allocations: 388.3 kB / 4.106 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/9.208, allocations: 101.1 kB / 4.106 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/9.21, allocations: 0.7928 MB / 4.107 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/9.21, allocations: 10.09 kB / 4.107 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/9.21, allocations: 3.406 kB / 4.107 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/9.211, allocations: 0.9547 MB / 4.108 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/9.216, allocations: 2.278 MB / 4.11 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/9.216, allocations: 3.312 kB / 4.11 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000769/9.217, allocations: 154.1 kB / 4.111 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/9.217, allocations: 7.578 kB / 4.111 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/9.217, allocations: 20.34 kB / 4.111 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/9.217, allocations: 6 kB / 4.111 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/9.217, allocations: 3.812 kB / 4.111 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/9.219, allocations: 1.414 MB / 4.112 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/9.22, allocations: 262 kB / 4.112 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/9.22, allocations: 15.42 kB / 4.112 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/9.221, allocations: 128.7 kB / 4.112 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/9.221, allocations: 52.34 kB / 4.112 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/9.221, allocations: 23.36 kB / 4.112 GB, free: 216.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001048/9.222, allocations: 0.5779 MB / 4.113 GB, free: 216 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/9.222, allocations: 0 / 4.113 GB, free: 216 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00301/9.225, allocations: 0.7636 MB / 4.114 GB, free: 215.9 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.006967/9.232, allocations: 5.06 MB / 4.119 GB, free: 213.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002282/9.234, allocations: 0.9861 MB / 4.12 GB, free: 213.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/9.234, allocations: 4.25 kB / 4.12 GB, free: 213.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/9.235, allocations: 352.8 kB / 4.12 GB, free: 213.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/9.239, allocations: 0.6712 MB / 4.121 GB, free: 213.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/9.251, allocations: 6.907 MB / 4.127 GB, free: 210.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008921/9.252, allocations: 1.15 MB / 4.128 GB, free: 209.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00165/9.254, allocations: 291.5 kB / 4.129 GB, free: 209.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/9.254, allocations: 410.7 kB / 4.129 GB, free: 209.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.433e-06/9.254, allocations: 0 / 4.129 GB, free: 209.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/9.358, allocations: 63.47 MB / 4.191 GB, free: 209.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/9.358, allocations: 230.3 kB / 4.191 GB, free: 208.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.48/13.84, allocations: 7.688 kB / 4.191 GB, free: 208.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat does not exist to compare? outputFormat=mat