Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 187.3 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008428/0.0008427, allocations: 90.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003722, allocations: 11.91 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7217/0.9426, allocations: 196.9 MB / 1.092 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.9535, allocations: 7.285 MB / 1.1 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.9555, allocations: 41.12 kB / 1.1 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.9577, allocations: 0.6725 MB / 1.1 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.9641, allocations: 1.932 MB / 1.102 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0054/0.9695, allocations: 1.673 MB / 1.104 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004263/0.9738, allocations: 1.897 MB / 1.106 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.9752, allocations: 0.8403 MB / 1.106 GB, free: 3.094 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.979, allocations: 1.428 MB / 1.108 GB, free: 3.09 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.9802, allocations: 0.6148 MB / 1.108 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.9803, allocations: 52.31 kB / 1.108 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.9834, allocations: 1.066 MB / 1.11 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.9838, allocations: 355.3 kB / 1.11 GB, free: 3.078 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.9842, allocations: 289.1 kB / 1.11 GB, free: 3.047 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.9862, allocations: 1.638 MB / 1.112 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.9862, allocations: 0 / 1.112 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9862, allocations: 0 / 1.112 GB, free: 2.922 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.9863, allocations: 0 / 1.112 GB, free: 2.922 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002568/0.9888, allocations: 1.437 MB / 1.113 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9889, allocations: 8.156 kB / 1.113 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001763/0.9891, allocations: 132.7 kB / 1.113 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.9915, allocations: 432.4 kB / 1.114 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.9932, allocations: 0.919 MB / 1.115 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.9932, allocations: 69.72 kB / 1.115 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.9933, allocations: 80.53 kB / 1.115 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.9948, allocations: 0.8686 MB / 1.116 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.9949, allocations: 0 / 1.116 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.9949, allocations: 33.41 kB / 1.116 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.995, allocations: 32.5 kB / 1.116 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.9963, allocations: 0.8271 MB / 1.116 GB, free: 17.57 MB / 0.7136 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.004463/1.001, allocations: 3.644 MB / 1.12 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/1.002, allocations: 1.124 MB / 1.121 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/1.003, allocations: 152.1 kB / 1.121 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.003, allocations: 38.41 kB / 1.121 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/1.003, allocations: 0 / 1.121 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.002105/1.005, allocations: 0.9796 MB / 1.122 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/1.005, allocations: 59.2 kB / 1.122 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.006, allocations: 0.8255 MB / 1.123 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/1.006, allocations: 43.39 kB / 1.123 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/1.006, allocations: 477.1 kB / 1.124 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/1.006, allocations: 210.7 kB / 1.124 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/1.007, allocations: 14.47 kB / 1.124 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.007, allocations: 332.3 kB / 1.124 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/1.007, allocations: 252.3 kB / 1.124 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/1.008, allocations: 374.9 kB / 1.125 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/1.008, allocations: 299.3 kB / 1.125 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.008, allocations: 0 / 1.125 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001261/1.009, allocations: 0.7416 MB / 1.126 GB, free: 14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/1.01, allocations: 459.8 kB / 1.126 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.01, allocations: 0.9688 kB / 1.126 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.01, allocations: 3.781 kB / 1.126 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/1.01, allocations: 133.8 kB / 1.126 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.01, allocations: 3.516 kB / 1.126 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/1.011, allocations: 125.1 kB / 1.126 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/1.011, allocations: 24.23 kB / 1.126 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/1.012, allocations: 3.156 kB / 1.126 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/1.013, allocations: 0.6215 MB / 1.127 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/1.013, allocations: 0 / 1.127 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/1.013, allocations: 2.406 kB / 1.127 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/1.013, allocations: 139.6 kB / 1.127 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.013, allocations: 2.812 kB / 1.127 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/1.014, allocations: 126.1 kB / 1.127 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/1.014, allocations: 19.5 kB / 1.127 GB, free: 13.45 MB / 0.7136 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.0007763/1.015, allocations: 390.3 kB / 1.128 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/1.015, allocations: 106 kB / 1.128 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/1.017, allocations: 0.7541 MB / 1.129 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.017, allocations: 5.719 kB / 1.129 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.017, allocations: 0 / 1.129 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/1.018, allocations: 0.9224 MB / 1.129 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/1.022, allocations: 2.259 MB / 1.132 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.022, allocations: 7.125 kB / 1.132 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/1.023, allocations: 142.3 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/1.023, allocations: 10.27 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/1.023, allocations: 18.69 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/1.023, allocations: 5.719 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.023, allocations: 6.281 kB / 1.132 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/1.025, allocations: 1.434 MB / 1.133 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/1.026, allocations: 265.7 kB / 1.134 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.026, allocations: 21.05 kB / 1.134 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/1.027, allocations: 107.1 kB / 1.134 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.027, allocations: 46.56 kB / 1.134 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/1.027, allocations: 27.58 kB / 1.134 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009362/1.028, allocations: 0.5817 MB / 1.134 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/1.028, allocations: 3.938 kB / 1.134 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001435/1.03, allocations: 0.5288 MB / 1.135 GB, free: 10.69 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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 (60): * Single equations (assignments): 60 * 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.003133/1.033, allocations: 3.01 MB / 1.138 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001865/1.035, allocations: 0.9547 MB / 1.139 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.035, allocations: 0 / 1.139 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000571/1.035, allocations: 349.1 kB / 1.139 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/1.038, allocations: 0.6128 MB / 1.14 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.049, allocations: 6.786 MB / 1.146 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/1.05, allocations: 1.152 MB / 1.147 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001352/1.051, allocations: 298.3 kB / 1.148 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/1.052, allocations: 413.5 kB / 1.148 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of SimCode: time 1.422e-06/1.052, allocations: 0 / 1.148 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05611/1.108, allocations: 28.88 MB / 1.176 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/1.108, allocations: 234.2 kB / 1.176 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/3.994, allocations: 0 / 1.176 GB, free: 13.25 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)