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.364/2.364, allocations: 390.5 MB / 398 MB, free: 10.91 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.001344/0.001344, allocations: 184.9 kB / 491.2 MB, free: 1.543 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.524/1.524, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001072/0.001072, allocations: 87.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.175e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2522, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.693/4.945, allocations: 1.928 GB / 3.14 GB, free: 345.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/4.945, allocations: 90.3 kB / 3.141 GB, free: 345 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.126/8.071, allocations: 0.9206 GB / 4.061 GB, free: 222 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/8.071, allocations: 0 / 4.061 GB, free: 222 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002235/8.071, allocations: 36.05 kB / 4.061 GB, free: 222 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.005014/8.076, allocations: 1.529 MB / 4.063 GB, free: 221.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/8.076, allocations: 11.72 kB / 4.063 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/8.08, allocations: 409 kB / 4.063 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/8.083, allocations: 1.078 MB / 4.064 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/8.083, allocations: 29.69 kB / 4.064 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/8.083, allocations: 49.16 kB / 4.064 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/8.085, allocations: 0.6832 MB / 4.065 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/8.086, allocations: 0.6853 MB / 4.066 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/8.086, allocations: 0 / 4.066 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.512e-05/8.086, allocations: 0 / 4.066 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/8.086, allocations: 32.38 kB / 4.066 GB, free: 220.9 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.005308/8.091, allocations: 3.499 MB / 4.069 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/8.093, allocations: 1.051 MB / 4.07 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/8.093, allocations: 330 kB / 4.07 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/8.094, allocations: 400.9 kB / 4.071 GB, free: 218.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/8.094, allocations: 40.41 kB / 4.071 GB, free: 218.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 2.155e-06/8.094, allocations: 1.906 kB / 4.071 GB, free: 218.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.001743/8.095, allocations: 0.714 MB / 4.071 GB, free: 218.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/8.096, allocations: 61.72 kB / 4.071 GB, free: 218.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/8.096, allocations: 0.5965 MB / 4.072 GB, free: 218.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/8.096, allocations: 25.7 kB / 4.072 GB, free: 218 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/8.097, allocations: 491.1 kB / 4.073 GB, free: 217.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/8.097, allocations: 206.3 kB / 4.073 GB, free: 217.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/8.097, allocations: 0 / 4.073 GB, free: 217.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/8.097, allocations: 329.3 kB / 4.073 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/8.097, allocations: 217.1 kB / 4.073 GB, free: 217.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/8.098, allocations: 355.5 kB / 4.074 GB, free: 217.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/8.098, allocations: 342.5 kB / 4.074 GB, free: 217.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/8.098, allocations: 3.953 kB / 4.074 GB, free: 217.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0013/8.1, allocations: 0.7186 MB / 4.075 GB, free: 217.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/8.1, allocations: 456.4 kB / 4.075 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/8.1, allocations: 3.938 kB / 4.075 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/8.1, allocations: 0 / 4.075 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/8.101, allocations: 138.9 kB / 4.075 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/8.101, allocations: 3.594 kB / 4.075 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/8.102, allocations: 119.3 kB / 4.075 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/8.102, allocations: 26.25 kB / 4.075 GB, free: 216.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/8.102, allocations: 3.719 kB / 4.075 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001024/8.103, allocations: 0.5888 MB / 4.076 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/8.103, allocations: 3.938 kB / 4.076 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/8.103, allocations: 10.98 kB / 4.076 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/8.103, allocations: 135 kB / 4.076 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/8.103, allocations: 5.781 kB / 4.076 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/8.105, allocations: 126.9 kB / 4.076 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/8.105, allocations: 25.22 kB / 4.076 GB, free: 216.7 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.0001861/8.105, allocations: 118.1 kB / 4.076 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001182/8.106, allocations: 0.6589 MB / 4.077 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/8.106, allocations: 98.38 kB / 4.077 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/8.108, allocations: 0.7409 MB / 4.078 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/8.108, allocations: 15.2 kB / 4.078 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/8.108, allocations: 0 / 4.078 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/8.109, allocations: 0.9102 MB / 4.079 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/8.112, allocations: 2.101 MB / 4.081 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/8.112, allocations: 3.812 kB / 4.081 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006908/8.113, allocations: 152 kB / 4.081 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/8.113, allocations: 7.219 kB / 4.081 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/8.113, allocations: 9.844 kB / 4.081 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/8.113, allocations: 7.875 kB / 4.081 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/8.113, allocations: 7.562 kB / 4.081 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/8.115, allocations: 1.309 MB / 4.082 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/8.115, allocations: 251 kB / 4.082 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/8.116, allocations: 6.031 kB / 4.082 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/8.117, allocations: 121.1 kB / 4.083 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/8.117, allocations: 51.19 kB / 4.083 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/8.117, allocations: 24.62 kB / 4.083 GB, free: 214.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006628/8.118, allocations: 472.8 kB / 4.083 GB, free: 214.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/8.118, allocations: 0 / 4.083 GB, free: 214.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002086/8.12, allocations: 0.6846 MB / 4.084 GB, free: 214.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.00559/8.125, allocations: 5.235 MB / 4.089 GB, free: 211.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00145/8.127, allocations: 0.8624 MB / 4.09 GB, free: 211.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/8.127, allocations: 3.812 kB / 4.09 GB, free: 211.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/8.127, allocations: 298.5 kB / 4.09 GB, free: 211.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/8.131, allocations: 0.6159 MB / 4.091 GB, free: 211.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/8.134, allocations: 1.939 MB / 4.093 GB, free: 211.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/8.135, allocations: 1.152 MB / 4.094 GB, free: 210.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001447/8.136, allocations: 344.4 kB / 4.094 GB, free: 210.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/8.137, allocations: 396.8 kB / 4.094 GB, free: 210.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.214e-06/8.137, allocations: 0 / 4.094 GB, free: 210.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09556/8.233, allocations: 45.09 MB / 4.138 GB, free: 203.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/8.233, allocations: 180.2 kB / 4.139 GB, free: 203.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.053/12.29, allocations: 4 kB / 4.139 GB, free: 203.6 MB / 1.151 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