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.001056/0.001056, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01008/0.01008, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.602/1.602, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.885/1.885, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005631/0.0005631, allocations: 13.06 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2993, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9008/1.2, allocations: 234.6 MB / 1.017 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01279/1.213, allocations: 7.153 MB / 1.024 GB, free: 344 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003484/1.216, allocations: 41.41 kB / 1.024 GB, free: 324 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00353/1.22, allocations: 0.5866 MB / 1.025 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007925/1.228, allocations: 1.945 MB / 1.026 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006592/1.235, allocations: 1.864 MB / 1.028 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00656/1.241, allocations: 4.413 MB / 1.033 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/1.243, allocations: 0.9186 MB / 1.033 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/1.248, allocations: 1.56 MB / 1.035 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/1.251, allocations: 0.9551 MB / 1.036 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004988/1.251, allocations: 57.33 kB / 1.036 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0073/1.259, allocations: 2.826 MB / 1.039 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008321/1.26, allocations: 384.8 kB / 1.039 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/1.261, allocations: 0.6607 MB / 1.04 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006622/1.268, allocations: 2.725 MB / 1.042 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.268, allocations: 2.562 kB / 1.042 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.186e-06/1.268, allocations: 0 / 1.042 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.572e-05/1.268, allocations: 0 / 1.042 GB, free: 4.531 MB / 0.7481 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.003307/1.272, allocations: 1.472 MB / 1.044 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.272, allocations: 10.91 kB / 1.044 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/1.274, allocations: 422.4 kB / 1.044 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.276, allocations: 0.9571 MB / 1.045 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/1.276, allocations: 61.53 kB / 1.045 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.276, allocations: 87.55 kB / 1.045 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/1.278, allocations: 0.8746 MB / 1.046 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.278, allocations: 7.922 kB / 1.046 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/1.278, allocations: 32 kB / 1.046 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/1.278, allocations: 26.66 kB / 1.046 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/1.279, allocations: 0.8211 MB / 1.047 GB, free: 1.473 MB / 0.7481 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.004477/1.284, allocations: 3.643 MB / 1.051 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.285, allocations: 1.107 MB / 1.052 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/1.286, allocations: 383.6 kB / 1.052 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/1.287, allocations: 420.9 kB / 1.052 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.287, allocations: 39.12 kB / 1.052 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 2.805e-06/1.287, allocations: 0 / 1.052 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.002123/1.289, allocations: 0.9897 MB / 1.053 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.289, allocations: 55.97 kB / 1.053 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.29, allocations: 0.8316 MB / 1.054 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/1.29, allocations: 41.7 kB / 1.054 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/1.29, allocations: 488.1 kB / 1.055 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/1.29, allocations: 208.9 kB / 1.055 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/1.29, allocations: 49.69 kB / 1.055 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.291, allocations: 334 kB / 1.055 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/1.291, allocations: 256.9 kB / 1.056 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/1.292, allocations: 392.2 kB / 1.056 GB, free: 8.98 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.293, allocations: 0.6048 MB / 1.057 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.293, allocations: 0 / 1.057 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001281/1.294, allocations: 0.7555 MB / 1.057 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/1.294, allocations: 126.6 kB / 1.057 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.294, allocations: 0 / 1.057 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.294, allocations: 4 kB / 1.057 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/1.295, allocations: 132 kB / 1.058 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/1.295, allocations: 3.938 kB / 1.058 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000943/1.296, allocations: 133.8 kB / 1.058 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/1.296, allocations: 20 kB / 1.058 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/1.296, allocations: 4 kB / 1.058 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/1.297, allocations: 0.6222 MB / 1.058 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.297, allocations: 7.938 kB / 1.058 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/1.297, allocations: 4 kB / 1.058 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/1.297, allocations: 139.9 kB / 1.058 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.297, allocations: 4 kB / 1.058 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000829/1.298, allocations: 124.2 kB / 1.059 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/1.298, allocations: 24 kB / 1.059 GB, free: 6.246 MB / 0.7637 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.0005394/1.299, allocations: 380.9 kB / 1.059 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/1.299, allocations: 102.7 kB / 1.059 GB, free: 5.762 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/1.3, allocations: 0.7625 MB / 1.06 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.3, allocations: 4 kB / 1.06 GB, free: 4.992 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.3, allocations: 0 / 1.06 GB, free: 4.992 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/1.302, allocations: 0.9229 MB / 1.061 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/1.305, allocations: 2.263 MB / 1.063 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.305, allocations: 4 kB / 1.063 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/1.306, allocations: 144.2 kB / 1.063 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/1.306, allocations: 11.94 kB / 1.063 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/1.306, allocations: 16 kB / 1.063 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/1.306, allocations: 11.92 kB / 1.063 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.306, allocations: 7.984 kB / 1.063 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/1.308, allocations: 1.284 MB / 1.064 GB, free: 48 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/1.308, allocations: 263.7 kB / 1.065 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.309, allocations: 20 kB / 1.065 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008691/1.309, allocations: 95.94 kB / 1.065 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.31, allocations: 60.25 kB / 1.065 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/1.31, allocations: 27.92 kB / 1.065 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001105/1.311, allocations: 0.5782 MB / 1.065 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/1.311, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002003/1.313, allocations: 0.5338 MB / 1.066 GB, free: 14.45 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.0006814/1.313, allocations: 250.1 kB / 1.066 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.315, allocations: 0.9625 MB / 1.067 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.315, allocations: 8.312 kB / 1.067 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006305/1.316, allocations: 350.2 kB / 1.067 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/1.32, allocations: 0.6131 MB / 1.068 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/1.324, allocations: 2.639 MB / 1.071 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009553/1.325, allocations: 1.124 MB / 1.072 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001325/1.327, allocations: 296.1 kB / 1.072 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/1.327, allocations: 79.42 kB / 1.072 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of SimCode: time 9.42e-07/1.327, allocations: 4 kB / 1.072 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of Templates: time 0.03522/1.362, allocations: 19.69 MB / 1.091 GB, free: 4.621 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: