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.0007829/0.0007829, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0007967/0.0007967, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.72/1.72, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005239/0.0005239, allocations: 17.84 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2349, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7208/0.9558, allocations: 218.8 MB / 1.001 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.9676, allocations: 6.726 MB / 1.008 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.9696, allocations: 47.06 kB / 1.008 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.9715, allocations: 468.3 kB / 1.008 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.9765, allocations: 1.531 MB / 1.01 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.981, allocations: 1.454 MB / 1.011 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004776/0.9858, allocations: 3.743 MB / 1.015 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.9873, allocations: 0.8102 MB / 1.015 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.9911, allocations: 1.429 MB / 1.017 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.9926, allocations: 0.9088 MB / 1.018 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.9927, allocations: 52.16 kB / 1.018 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.9962, allocations: 1.387 MB / 1.019 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004238/0.9966, allocations: 384 kB / 1.019 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.9971, allocations: 284.8 kB / 1.02 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.9996, allocations: 1.784 MB / 1.021 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9997, allocations: 2.875 kB / 1.021 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9997, allocations: 0 / 1.021 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.9997, allocations: 0 / 1.021 GB, free: 4.316 MB / 0.7325 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.002448/1.002, allocations: 1.484 MB / 1.023 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.002, allocations: 8.156 kB / 1.023 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/1.005, allocations: 428.9 kB / 1.023 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/1.006, allocations: 0.9168 MB / 1.024 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/1.006, allocations: 62.56 kB / 1.024 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/1.006, allocations: 79.09 kB / 1.024 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/1.008, allocations: 0.8743 MB / 1.025 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.008, allocations: 5.688 kB / 1.025 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/1.008, allocations: 30.28 kB / 1.025 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/1.008, allocations: 33.58 kB / 1.025 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/1.009, allocations: 0.8217 MB / 1.026 GB, free: 1.289 MB / 0.7325 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.004396/1.014, allocations: 3.639 MB / 1.03 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/1.015, allocations: 1.095 MB / 1.031 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/1.016, allocations: 387.2 kB / 1.031 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006634/1.016, allocations: 420.2 kB / 1.031 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.016, allocations: 37.78 kB / 1.032 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/1.016, allocations: 2.688 kB / 1.032 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60): time 0.001938/1.018, allocations: 0.9887 MB / 1.032 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.018, allocations: 57.09 kB / 1.033 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.02, allocations: 0.8187 MB / 1.033 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/1.02, allocations: 42.3 kB / 1.033 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/1.02, allocations: 481 kB / 1.034 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/1.02, allocations: 212.1 kB / 1.034 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/1.02, allocations: 10.94 kB / 1.034 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.02, allocations: 331.7 kB / 1.034 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/1.021, allocations: 249.3 kB / 1.035 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/1.021, allocations: 392.6 kB / 1.035 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/1.022, allocations: 301.9 kB / 1.035 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.022, allocations: 0 / 1.035 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001194/1.023, allocations: 0.7465 MB / 1.036 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/1.023, allocations: 124.7 kB / 1.036 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.023, allocations: 1.75 kB / 1.036 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.023, allocations: 3.219 kB / 1.036 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/1.024, allocations: 132.2 kB / 1.036 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.024, allocations: 5.766 kB / 1.036 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/1.025, allocations: 122.5 kB / 1.036 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/1.025, allocations: 23.5 kB / 1.036 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/1.025, allocations: 3.312 kB / 1.036 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/1.026, allocations: 0.6245 MB / 1.037 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.026, allocations: 4.625 kB / 1.037 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/1.026, allocations: 2.719 kB / 1.037 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/1.026, allocations: 133.2 kB / 1.037 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.026, allocations: 5.219 kB / 1.037 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/1.027, allocations: 128.6 kB / 1.037 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/1.027, allocations: 20 kB / 1.037 GB, free: 9.117 MB / 0.7481 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.0005783/1.028, allocations: 385 kB / 1.038 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.028, allocations: 100 kB / 1.038 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/1.029, allocations: 0.7625 MB / 1.038 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.029, allocations: 9.672 kB / 1.038 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.029, allocations: 0 / 1.038 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/1.03, allocations: 0.9208 MB / 1.039 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/1.033, allocations: 2.259 MB / 1.042 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.033, allocations: 2.781 kB / 1.042 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/1.034, allocations: 144.2 kB / 1.042 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/1.034, allocations: 14.14 kB / 1.042 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/1.034, allocations: 16.66 kB / 1.042 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/1.034, allocations: 5.125 kB / 1.042 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.034, allocations: 6.781 kB / 1.042 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/1.036, allocations: 1.293 MB / 1.043 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/1.036, allocations: 254.2 kB / 1.043 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.037, allocations: 19.98 kB / 1.043 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/1.037, allocations: 104.6 kB / 1.043 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/1.037, allocations: 48.33 kB / 1.043 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/1.037, allocations: 24 kB / 1.043 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007632/1.038, allocations: 0.5742 MB / 1.044 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.038, allocations: 0 / 1.044 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001351/1.04, allocations: 0.5338 MB / 1.045 GB, free: 3.555 MB / 0.7481 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.0005422/1.04, allocations: 242.1 kB / 1.045 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00168/1.042, allocations: 0.9627 MB / 1.046 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.042, allocations: 0 / 1.046 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005556/1.042, allocations: 359 kB / 1.046 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.045, allocations: 0.612 MB / 1.047 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/1.048, allocations: 2.614 MB / 1.049 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/1.049, allocations: 1.12 MB / 1.05 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001076/1.05, allocations: 292.1 kB / 1.051 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/1.05, allocations: 79.42 kB / 1.051 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of SimCode: time 6.91e-07/1.05, allocations: 0 / 1.051 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of Templates: time 0.0318/1.082, allocations: 19.1 MB / 1.069 GB, free: 10.36 MB / 0.7794 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: