Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001433/0.001433, allocations: 108 kB / 15.6 MB, free: 132 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.001605/0.001605, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.56 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3315, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8817/1.213, allocations: 239.9 MB / 1.302 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01382/1.227, allocations: 7.211 MB / 1.309 GB, free: 17.13 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002993/1.23, allocations: 50.41 kB / 1.31 GB, free: 17.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/1.232, allocations: 0.6933 MB / 1.31 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006799/1.239, allocations: 2.08 MB / 1.312 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005564/1.245, allocations: 2.014 MB / 1.314 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005386/1.25, allocations: 3.269 MB / 1.317 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/1.252, allocations: 1.132 MB / 1.318 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004379/1.257, allocations: 1.785 MB / 1.32 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/1.259, allocations: 0.9621 MB / 1.321 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002543/1.259, allocations: 121.6 kB / 1.321 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005562/1.265, allocations: 2.488 MB / 1.324 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006038/1.265, allocations: 461.2 kB / 1.324 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/1.267, allocations: 0.7216 MB / 1.325 GB, free: 16.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005507/1.272, allocations: 2.652 MB / 1.327 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.272, allocations: 1 kB / 1.327 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/1.272, allocations: 0.8125 kB / 1.327 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.437e-05/1.272, allocations: 3 kB / 1.327 GB, free: 16.04 MB / 0.9981 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.003242/1.276, allocations: 1.712 MB / 1.329 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.276, allocations: 8 kB / 1.329 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/1.278, allocations: 424.1 kB / 1.33 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/1.28, allocations: 0.9662 MB / 1.33 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/1.28, allocations: 61.78 kB / 1.331 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.28, allocations: 88.12 kB / 1.331 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/1.282, allocations: 0.8665 MB / 1.331 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.282, allocations: 3.938 kB / 1.331 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/1.282, allocations: 34.5 kB / 1.332 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/1.282, allocations: 26.72 kB / 1.332 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/1.283, allocations: 0.8065 MB / 1.332 GB, free: 14.63 MB / 0.9981 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.00496/1.288, allocations: 3.679 MB / 1.336 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/1.29, allocations: 1.096 MB / 1.337 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/1.29, allocations: 375 kB / 1.337 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/1.291, allocations: 404 kB / 1.338 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/1.291, allocations: 41.91 kB / 1.338 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/1.291, allocations: 0 / 1.338 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.002011/1.293, allocations: 0.953 MB / 1.339 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/1.293, allocations: 65.41 kB / 1.339 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.294, allocations: 0.8387 MB / 1.34 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/1.294, allocations: 36.36 kB / 1.34 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/1.294, allocations: 485.6 kB / 1.34 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/1.295, allocations: 209.9 kB / 1.34 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/1.295, allocations: 116.9 kB / 1.34 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/1.295, allocations: 325 kB / 1.341 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/1.295, allocations: 262.4 kB / 1.341 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/1.296, allocations: 368.4 kB / 1.341 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/1.297, allocations: 0.5876 MB / 1.342 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.297, allocations: 0 / 1.342 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001325/1.298, allocations: 0.7338 MB / 1.343 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.298, allocations: 4.875 kB / 1.343 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.298, allocations: 0 / 1.343 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.298, allocations: 5.25 kB / 1.343 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/1.299, allocations: 128.8 kB / 1.343 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.299, allocations: 12.66 kB / 1.343 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000921/1.3, allocations: 67.47 kB / 1.343 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/1.3, allocations: 23.12 kB / 1.343 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008228/1.301, allocations: 498 kB / 1.343 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005059/1.301, allocations: 364.7 kB / 1.344 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009118/1.302, allocations: 0.5774 MB / 1.344 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/1.302, allocations: 192 / 1.344 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001184/1.303, allocations: 0.7248 MB / 1.345 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.303, allocations: 9.781 kB / 1.345 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/1.303, allocations: 2.656 kB / 1.345 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/1.303, allocations: 2.219 kB / 1.345 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/1.304, allocations: 124.8 kB / 1.345 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.304, allocations: 4.656 kB / 1.345 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/1.305, allocations: 76.72 kB / 1.345 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/1.305, allocations: 29.02 kB / 1.345 GB, free: 8.176 MB / 0.9981 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.0002073/1.305, allocations: 212.4 kB / 1.345 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/1.305, allocations: 101.1 kB / 1.345 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/1.307, allocations: 0.7417 MB / 1.346 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.307, allocations: 9.188 kB / 1.346 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.307, allocations: 3.938 kB / 1.346 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/1.308, allocations: 0.9044 MB / 1.347 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/1.311, allocations: 2.25 MB / 1.349 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.311, allocations: 3.156 kB / 1.349 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/1.312, allocations: 140.7 kB / 1.349 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.312, allocations: 8.625 kB / 1.349 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/1.312, allocations: 15.14 kB / 1.349 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.312, allocations: 7.938 kB / 1.349 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.312, allocations: 9.406 kB / 1.349 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/1.313, allocations: 1.226 MB / 1.351 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/1.314, allocations: 263.6 kB / 1.351 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.314, allocations: 17.84 kB / 1.351 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/1.315, allocations: 41.12 kB / 1.351 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.315, allocations: 48.83 kB / 1.351 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/1.315, allocations: 26.62 kB / 1.351 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007193/1.316, allocations: 0.583 MB / 1.352 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.316, allocations: 0 / 1.352 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001344/1.317, allocations: 0.5355 MB / 1.352 GB, free: 4.484 MB / 0.9981 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 (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.0005012/1.317, allocations: 234.6 kB / 1.352 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001832/1.319, allocations: 1.011 MB / 1.353 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.319, allocations: 6.406 kB / 1.353 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005298/1.32, allocations: 343.7 kB / 1.354 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/1.322, allocations: 0.6056 MB / 1.354 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/1.325, allocations: 2.15 MB / 1.356 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/1.326, allocations: 1.121 MB / 1.357 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00117/1.327, allocations: 295.8 kB / 1.358 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/1.327, allocations: 85.88 kB / 1.358 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of SimCode: time 1.923e-06/1.327, allocations: 0 / 1.358 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of Templates: time 0.03614/1.364, allocations: 20.37 MB / 1.378 GB, free: 9.039 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)