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.001618/0.001618, allocations: 106.7 kB / 16.41 MB, free: 6.492 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.001706/0.001706, allocations: 191 kB / 17.34 MB, free: 5.766 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.14 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.8791/0.8791, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 56.22 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1371, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5455/0.6826, allocations: 240.1 MB / 0.9108 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.6941, allocations: 7.235 MB / 0.9178 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.6956, allocations: 51.69 kB / 0.9179 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.6977, allocations: 0.6909 MB / 0.9186 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005391/0.7031, allocations: 2.069 MB / 0.9206 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005036/0.7082, allocations: 2.038 MB / 0.9226 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.7124, allocations: 3.28 MB / 0.9258 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.7142, allocations: 1.127 MB / 0.9269 GB, free: 13 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.7182, allocations: 1.825 MB / 0.9287 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.7204, allocations: 0.9683 MB / 0.9296 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.7208, allocations: 120 kB / 0.9297 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004897/0.7257, allocations: 2.49 MB / 0.9321 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006635/0.7264, allocations: 462.7 kB / 0.9326 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.7277, allocations: 0.7194 MB / 0.9333 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.7326, allocations: 2.774 MB / 0.936 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7326, allocations: 0 / 0.936 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7327, allocations: 0 / 0.936 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.278e-05/0.7327, allocations: 0 / 0.936 GB, free: 3.629 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.003627/0.7364, allocations: 1.719 MB / 0.9377 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7364, allocations: 12.03 kB / 0.9377 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.7393, allocations: 422 kB / 0.9381 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.7413, allocations: 1.03 MB / 0.9391 GB, free: 364 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.7414, allocations: 66 kB / 0.9392 GB, free: 300 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.7416, allocations: 76 kB / 0.9392 GB, free: 224 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.7433, allocations: 0.8632 MB / 0.9401 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.7434, allocations: 0 / 0.9401 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.7434, allocations: 32 kB / 0.9401 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.7435, allocations: 30 kB / 0.9401 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.745, allocations: 0.8081 MB / 0.9409 GB, free: 14.48 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.005263/0.7503, allocations: 3.65 MB / 0.9445 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.7518, allocations: 1.097 MB / 0.9456 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.7524, allocations: 374.3 kB / 0.9459 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.7532, allocations: 404.8 kB / 0.9463 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.7532, allocations: 44 kB / 0.9463 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.236e-06/0.7532, allocations: 0 / 0.9463 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002215/0.7554, allocations: 0.9507 MB / 0.9473 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.7555, allocations: 59.97 kB / 0.9473 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.7568, allocations: 0.84 MB / 0.9482 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.334e-05/0.7569, allocations: 45.64 kB / 0.9482 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.7572, allocations: 484.1 kB / 0.9487 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.7575, allocations: 212.9 kB / 0.9489 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.7577, allocations: 118.1 kB / 0.949 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7578, allocations: 326 kB / 0.9493 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.7583, allocations: 259 kB / 0.9495 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.7589, allocations: 367.5 kB / 0.9499 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/0.7599, allocations: 0.5813 MB / 0.9504 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.7599, allocations: 4 kB / 0.9505 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001388/0.7613, allocations: 0.7397 MB / 0.9512 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.7613, allocations: 8 kB / 0.9512 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.7613, allocations: 1.562 kB / 0.9512 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.7614, allocations: 4 kB / 0.9512 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/0.7619, allocations: 124.9 kB / 0.9513 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.762, allocations: 8.125 kB / 0.9513 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.7628, allocations: 71.48 kB / 0.9514 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.7629, allocations: 20 kB / 0.9514 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008064/0.7637, allocations: 0.4893 MB / 0.9519 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005483/0.7642, allocations: 363.5 kB / 0.9522 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009929/0.7652, allocations: 0.5735 MB / 0.9528 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.357e-06/0.7652, allocations: 4 kB / 0.9528 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001282/0.7665, allocations: 0.7242 MB / 0.9535 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.7666, allocations: 11.94 kB / 0.9535 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.7666, allocations: 0 / 0.9535 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.7666, allocations: 4 kB / 0.9535 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.7672, allocations: 127.8 kB / 0.9536 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.7672, allocations: 4 kB / 0.9536 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/0.768, allocations: 71.64 kB / 0.9537 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.768, allocations: 27.92 kB / 0.9537 GB, free: 0.6797 MB / 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.0001952/0.7682, allocations: 209 kB / 0.9539 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.7684, allocations: 102.7 kB / 0.954 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.7698, allocations: 0.7394 MB / 0.9548 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.7699, allocations: 12 kB / 0.9548 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7699, allocations: 0 / 0.9548 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.771, allocations: 0.9034 MB / 0.9556 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.7743, allocations: 2.239 MB / 0.9578 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7744, allocations: 7.938 kB / 0.9578 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.775, allocations: 135.8 kB / 0.958 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.775, allocations: 4.406 kB / 0.958 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.7751, allocations: 19.98 kB / 0.958 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/0.7751, allocations: 12 kB / 0.958 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.7751, allocations: 7.938 kB / 0.958 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.777, allocations: 1.23 MB / 0.9592 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.7774, allocations: 263.7 kB / 0.9595 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.7776, allocations: 15.98 kB / 0.9595 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.7783, allocations: 39.95 kB / 0.9595 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.7784, allocations: 56.27 kB / 0.9596 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.7785, allocations: 23.98 kB / 0.9596 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008712/0.7794, allocations: 0.5862 MB / 0.9602 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7794, allocations: 0 / 0.9602 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001429/0.7808, allocations: 0.526 MB / 0.9607 GB, free: 9.23 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.0006638/0.7815, allocations: 255.7 kB / 0.9609 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.7835, allocations: 0.9467 MB / 0.9619 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.7835, allocations: 0 / 0.9619 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.7841, allocations: 346.9 kB / 0.9622 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.7868, allocations: 0.5939 MB / 0.9628 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.7906, allocations: 2.184 MB / 0.9649 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.7915, allocations: 1.124 MB / 0.966 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.7918, allocations: 83.44 kB / 0.9661 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.7918, allocations: 0 / 0.9661 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of Templates: time 0.0268/0.8186, allocations: 17.37 MB / 0.983 GB, free: 2.406 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)