Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001496/0.001496, allocations: 105.8 kB / 16.41 MB, free: 6.504 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.001479/0.001479, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.863/0.863, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.06 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.152, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5823/0.7343, allocations: 240.7 MB / 0.9114 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.7464, allocations: 7.238 MB / 0.9184 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.748, allocations: 55.62 kB / 0.9185 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.7499, allocations: 0.7221 MB / 0.9192 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005116/0.755, allocations: 2.165 MB / 0.9213 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.7597, allocations: 2.06 MB / 0.9233 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00447/0.7641, allocations: 3.28 MB / 0.9265 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.7655, allocations: 0.9304 MB / 0.9274 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.7691, allocations: 1.849 MB / 0.9292 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.7709, allocations: 0.9812 MB / 0.9302 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.7711, allocations: 120 kB / 0.9303 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/0.7755, allocations: 2.49 MB / 0.9327 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004849/0.7759, allocations: 482.5 kB / 0.9332 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008163/0.7768, allocations: 0.7155 MB / 0.9339 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.7808, allocations: 2.794 MB / 0.9366 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7808, allocations: 0 / 0.9366 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7808, allocations: 0 / 0.9366 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.7809, allocations: 4 kB / 0.9366 GB, free: 3.031 MB / 0.7012 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.00278/0.7836, allocations: 1.761 MB / 0.9383 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.7837, allocations: 8.031 kB / 0.9383 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.7862, allocations: 434.7 kB / 0.9388 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.7879, allocations: 1.031 MB / 0.9398 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.788, allocations: 62 kB / 0.9398 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.7881, allocations: 84 kB / 0.9399 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.7897, allocations: 0.8702 MB / 0.9408 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.7897, allocations: 0 / 0.9408 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.7898, allocations: 32 kB / 0.9408 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.7898, allocations: 29.98 kB / 0.9408 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.7913, allocations: 0.8081 MB / 0.9416 GB, free: 13.82 MB / 0.7169 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.00467/0.796, allocations: 3.655 MB / 0.9452 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.7975, allocations: 1.062 MB / 0.9462 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.7981, allocations: 344.2 kB / 0.9465 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006786/0.7987, allocations: 412.8 kB / 0.9469 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.7988, allocations: 45.19 kB / 0.947 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.014e-06/0.7988, allocations: 0 / 0.947 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002077/0.8009, allocations: 0.959 MB / 0.9479 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.8009, allocations: 55.97 kB / 0.948 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.802, allocations: 0.8438 MB / 0.9488 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.802, allocations: 37.7 kB / 0.9488 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.8024, allocations: 484.8 kB / 0.9493 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.8026, allocations: 230 kB / 0.9495 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.8028, allocations: 110.2 kB / 0.9496 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8029, allocations: 333.9 kB / 0.9499 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.8034, allocations: 254.9 kB / 0.9502 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.804, allocations: 371.4 kB / 0.9505 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.8051, allocations: 0.5852 MB / 0.9511 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8051, allocations: 0 / 0.9511 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001329/0.8064, allocations: 0.7442 MB / 0.9518 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.8065, allocations: 4 kB / 0.9518 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.8065, allocations: 4 kB / 0.9518 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.8065, allocations: 4 kB / 0.9518 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.807, allocations: 131.8 kB / 0.952 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.807, allocations: 4 kB / 0.952 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/0.8077, allocations: 75.67 kB / 0.952 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.8078, allocations: 24 kB / 0.9521 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008221/0.8086, allocations: 497.7 kB / 0.9525 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000576/0.8092, allocations: 359.5 kB / 0.9529 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001022/0.8102, allocations: 0.5813 MB / 0.9535 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.8102, allocations: 0 / 0.9535 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00126/0.8114, allocations: 0.7287 MB / 0.9542 GB, free: 288 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.8115, allocations: 7.938 kB / 0.9542 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-06/0.8115, allocations: 0 / 0.9542 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.8115, allocations: 4.125 kB / 0.9542 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.812, allocations: 131.8 kB / 0.9543 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.812, allocations: 0 / 0.9543 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.8126, allocations: 68.55 kB / 0.9544 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.8127, allocations: 20 kB / 0.9544 GB, free: 56 kB / 0.7169 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.0002132/0.8129, allocations: 212.1 kB / 0.9546 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.813, allocations: 119.2 kB / 0.9547 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.8145, allocations: 0.7414 MB / 0.9554 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.8145, allocations: 4 kB / 0.9554 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.8145, allocations: 4 kB / 0.9554 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/0.8157, allocations: 0.9033 MB / 0.9563 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.819, allocations: 2.248 MB / 0.9585 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.819, allocations: 7.938 kB / 0.9585 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.8197, allocations: 135.8 kB / 0.9586 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.8197, allocations: 8 kB / 0.9587 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.8197, allocations: 16 kB / 0.9587 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.8197, allocations: 4 kB / 0.9587 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.8197, allocations: 11.92 kB / 0.9587 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.8217, allocations: 1.231 MB / 0.9599 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.822, allocations: 268.3 kB / 0.9601 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.8221, allocations: 16 kB / 0.9602 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.8228, allocations: 43.89 kB / 0.9602 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8229, allocations: 52.25 kB / 0.9603 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.8229, allocations: 28 kB / 0.9603 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007911/0.8237, allocations: 0.5823 MB / 0.9608 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8237, allocations: 0 / 0.9608 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001195/0.8249, allocations: 0.538 MB / 0.9614 GB, free: 8.57 MB / 0.7325 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.0005105/0.8254, allocations: 242.5 kB / 0.9616 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.8271, allocations: 0.896 MB / 0.9625 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8271, allocations: 0 / 0.9625 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.8277, allocations: 327.3 kB / 0.9628 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.8302, allocations: 0.6093 MB / 0.9634 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.8334, allocations: 2.232 MB / 0.9656 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.8342, allocations: 1.124 MB / 0.9667 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.8344, allocations: 83.42 kB / 0.9667 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of SimCode: time 7.51e-07/0.8344, allocations: 4 kB / 0.9667 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of Templates: time 0.02448/0.8589, allocations: 17.3 MB / 0.9836 GB, free: 1.828 MB / 0.7481 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)