Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 198.6 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 81.86 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3054, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8798/1.185, allocations: 239.9 MB / 1.018 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01472/1.2, allocations: 7.14 MB / 1.025 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/1.203, allocations: 53.62 kB / 1.025 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002798/1.206, allocations: 0.7063 MB / 1.026 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007514/1.214, allocations: 2.059 MB / 1.028 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/1.22, allocations: 2.027 MB / 1.03 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005851/1.225, allocations: 3.251 MB / 1.033 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/1.227, allocations: 1.136 MB / 1.034 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005735/1.233, allocations: 1.787 MB / 1.036 GB, free: 28 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/1.236, allocations: 0.9592 MB / 1.037 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/1.236, allocations: 124.8 kB / 1.037 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00756/1.244, allocations: 2.492 MB / 1.04 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008983/1.245, allocations: 464.3 kB / 1.04 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/1.246, allocations: 0.7153 MB / 1.041 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007603/1.254, allocations: 2.679 MB / 1.043 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/1.254, allocations: 6.844 kB / 1.043 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.736e-06/1.254, allocations: 0 / 1.043 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.535e-05/1.254, allocations: 0 / 1.043 GB, free: 11.57 MB / 0.7637 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.003904/1.258, allocations: 1.706 MB / 1.045 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.258, allocations: 7.406 kB / 1.045 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/1.261, allocations: 418.3 kB / 1.045 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/1.262, allocations: 1.01 MB / 1.046 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/1.263, allocations: 65.06 kB / 1.046 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/1.263, allocations: 83.56 kB / 1.047 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/1.264, allocations: 0.8631 MB / 1.047 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/1.264, allocations: 0 / 1.047 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/1.265, allocations: 35.25 kB / 1.047 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/1.265, allocations: 31.89 kB / 1.047 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/1.266, allocations: 0.8016 MB / 1.048 GB, free: 8.32 MB / 0.7637 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.005751/1.272, allocations: 3.636 MB / 1.052 GB, free: 4.395 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.273, allocations: 1.102 MB / 1.053 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/1.274, allocations: 376.7 kB / 1.053 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/1.275, allocations: 404.9 kB / 1.054 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.275, allocations: 43.12 kB / 1.054 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 2.915e-06/1.275, allocations: 0 / 1.054 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.0023/1.277, allocations: 0.9546 MB / 1.055 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/1.277, allocations: 59.97 kB / 1.055 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/1.279, allocations: 0.8317 MB / 1.055 GB, free: 412 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/1.279, allocations: 37.7 kB / 1.055 GB, free: 368 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/1.279, allocations: 484.3 kB / 1.056 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.279, allocations: 208.9 kB / 1.056 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/1.28, allocations: 118.1 kB / 1.056 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.28, allocations: 326 kB / 1.057 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/1.28, allocations: 255 kB / 1.057 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/1.281, allocations: 372.3 kB / 1.057 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.282, allocations: 0.5891 MB / 1.058 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.282, allocations: 0 / 1.058 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001429/1.284, allocations: 0.7359 MB / 1.058 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.284, allocations: 4 kB / 1.058 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.284, allocations: 128 / 1.058 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.284, allocations: 8 kB / 1.058 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/1.284, allocations: 135.7 kB / 1.059 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.284, allocations: 4 kB / 1.059 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/1.285, allocations: 69.8 kB / 1.059 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/1.285, allocations: 24 kB / 1.059 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009228/1.286, allocations: 497.7 kB / 1.059 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005715/1.287, allocations: 364.2 kB / 1.06 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001183/1.288, allocations: 0.593 MB / 1.06 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/1.288, allocations: 1.562 kB / 1.06 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001336/1.289, allocations: 0.7203 MB / 1.061 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.289, allocations: 8 kB / 1.061 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/1.289, allocations: 0 / 1.061 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.633e-05/1.289, allocations: 4 kB / 1.061 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/1.29, allocations: 123.8 kB / 1.061 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.29, allocations: 8.125 kB / 1.061 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/1.291, allocations: 64.2 kB / 1.061 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/1.291, allocations: 20 kB / 1.061 GB, free: 10.55 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003023/1.291, allocations: 208.1 kB / 1.061 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/1.291, allocations: 106.7 kB / 1.061 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/1.293, allocations: 0.7485 MB / 1.062 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.293, allocations: 8 kB / 1.062 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.293, allocations: 0 / 1.062 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/1.294, allocations: 0.8995 MB / 1.063 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/1.298, allocations: 2.243 MB / 1.065 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/1.298, allocations: 4.406 kB / 1.065 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006742/1.299, allocations: 140.9 kB / 1.065 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.299, allocations: 7.984 kB / 1.065 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/1.299, allocations: 24 kB / 1.065 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.622e-05/1.299, allocations: 4 kB / 1.065 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.299, allocations: 7.938 kB / 1.065 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/1.301, allocations: 1.254 MB / 1.067 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/1.302, allocations: 259.7 kB / 1.067 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/1.302, allocations: 20.88 kB / 1.067 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/1.303, allocations: 46.39 kB / 1.067 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.303, allocations: 44.27 kB / 1.067 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/1.303, allocations: 23.98 kB / 1.067 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00095/1.304, allocations: 0.5898 MB / 1.067 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/1.304, allocations: 4 kB / 1.067 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001542/1.305, allocations: 0.526 MB / 1.068 GB, free: 3.07 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006415/1.306, allocations: 244.2 kB / 1.068 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.308, allocations: 0.9389 MB / 1.069 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.308, allocations: 3.938 kB / 1.069 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/1.309, allocations: 343.1 kB / 1.069 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/1.311, allocations: 0.5962 MB / 1.07 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/1.315, allocations: 2.108 MB / 1.072 GB, free: 14.78 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/1.316, allocations: 1.131 MB / 1.073 GB, free: 13.62 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001083/1.317, allocations: 291.9 kB / 1.074 GB, free: 13.33 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/1.317, allocations: 79.42 kB / 1.074 GB, free: 13.25 MB / 0.795 GB Notification: Performance of SimCode: time 1.182e-06/1.317, allocations: 0 / 1.074 GB, free: 13.25 MB / 0.795 GB Notification: Performance of Templates: time 0.03875/1.356, allocations: 20.4 MB / 1.094 GB, free: 9.168 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)