Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 121.2 kB / 17.81 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 189.5 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8335/0.8335, allocations: 128.4 MB / 432.4 MB, free: 13.57 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.94 kB / 0.5987 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3576, allocations: 83.27 MB / 0.68 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5928/0.9504, allocations: 240.9 MB / 0.9152 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009169/0.9596, allocations: 7.214 MB / 0.9223 GB, free: 13.37 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.9612, allocations: 55.36 kB / 0.9223 GB, free: 13.37 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.9628, allocations: 0.7264 MB / 0.923 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004316/0.9671, allocations: 2.162 MB / 0.9252 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.9711, allocations: 2.064 MB / 0.9272 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003558/0.9747, allocations: 3.257 MB / 0.9304 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.9758, allocations: 0.9321 MB / 0.9313 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.9794, allocations: 2.139 MB / 0.9334 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.981, allocations: 1.008 MB / 0.9343 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.9811, allocations: 123.8 kB / 0.9345 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.9851, allocations: 2.601 MB / 0.937 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.9855, allocations: 472 kB / 0.9374 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006843/0.9862, allocations: 0.7207 MB / 0.9381 GB, free: 12.63 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.9896, allocations: 2.691 MB / 0.9408 GB, free: 12.31 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9896, allocations: 2.938 kB / 0.9408 GB, free: 12.31 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9896, allocations: 0 / 0.9408 GB, free: 12.31 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.9896, allocations: 1 kB / 0.9408 GB, free: 12.31 MB / 0.67 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.002211/0.9918, allocations: 1.757 MB / 0.9425 GB, free: 11.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.9919, allocations: 14.69 kB / 0.9425 GB, free: 11.35 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.9942, allocations: 429.7 kB / 0.9429 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.9956, allocations: 1.02 MB / 0.9439 GB, free: 10.92 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.9956, allocations: 64.25 kB / 0.944 GB, free: 10.91 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.9957, allocations: 88.61 kB / 0.9441 GB, free: 10.91 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.997, allocations: 0.864 MB / 0.9449 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.997, allocations: 0.9062 kB / 0.9449 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.9971, allocations: 36.44 kB / 0.9449 GB, free: 10.85 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.9971, allocations: 29.72 kB / 0.945 GB, free: 10.85 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.9983, allocations: 0.8062 MB / 0.9458 GB, free: 10.59 MB / 0.67 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.003413/1.002, allocations: 3.732 MB / 0.9494 GB, free: 7.922 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/1.003, allocations: 1.066 MB / 0.9504 GB, free: 7.039 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/1.003, allocations: 343.6 kB / 0.9508 GB, free: 6.875 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/1.004, allocations: 407 kB / 0.9512 GB, free: 6.469 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/1.004, allocations: 44.06 kB / 0.9512 GB, free: 6.422 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.234e-06/1.004, allocations: 0.8438 kB / 0.9512 GB, free: 6.422 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001835/1.006, allocations: 0.962 MB / 0.9521 GB, free: 5.953 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/1.006, allocations: 62.38 kB / 0.9522 GB, free: 5.887 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/1.007, allocations: 0.8375 MB / 0.953 GB, free: 5.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/1.007, allocations: 41.95 kB / 0.9531 GB, free: 5.367 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/1.007, allocations: 485.9 kB / 0.9535 GB, free: 4.945 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/1.007, allocations: 224.4 kB / 0.9537 GB, free: 4.754 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/1.007, allocations: 113.9 kB / 0.9538 GB, free: 4.684 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/1.007, allocations: 328.3 kB / 0.9542 GB, free: 4.363 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/1.008, allocations: 256.2 kB / 0.9544 GB, free: 4.238 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/1.008, allocations: 367.1 kB / 0.9548 GB, free: 4.004 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/1.009, allocations: 0.5891 MB / 0.9553 GB, free: 3.684 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.009, allocations: 1.75 kB / 0.9553 GB, free: 3.684 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001125/1.01, allocations: 0.7334 MB / 0.956 GB, free: 3.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.01, allocations: 7.156 kB / 0.9561 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.01, allocations: 0 / 0.9561 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.01, allocations: 6.156 kB / 0.9561 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/1.011, allocations: 129.3 kB / 0.9562 GB, free: 3.293 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.011, allocations: 16.67 kB / 0.9562 GB, free: 3.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/1.011, allocations: 74.66 kB / 0.9563 GB, free: 3.234 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/1.011, allocations: 25.11 kB / 0.9563 GB, free: 3.227 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006747/1.012, allocations: 496.6 kB / 0.9568 GB, free: 2.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004431/1.013, allocations: 363.5 kB / 0.9571 GB, free: 2.695 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008174/1.013, allocations: 0.5775 MB / 0.9577 GB, free: 2.375 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/1.013, allocations: 0 / 0.9577 GB, free: 2.375 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001051/1.014, allocations: 0.7305 MB / 0.9584 GB, free: 2.012 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/1.014, allocations: 7.5 kB / 0.9584 GB, free: 2.012 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/1.014, allocations: 7.922 kB / 0.9584 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/1.014, allocations: 3 kB / 0.9584 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.015, allocations: 127.2 kB / 0.9585 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.015, allocations: 2.656 kB / 0.9585 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/1.016, allocations: 74.69 kB / 0.9586 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/1.016, allocations: 20.12 kB / 0.9586 GB, free: 1.93 MB / 0.67 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.0001296/1.016, allocations: 207.3 kB / 0.9588 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/1.016, allocations: 104.9 kB / 0.9589 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/1.017, allocations: 0.7388 MB / 0.9596 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.017, allocations: 9.625 kB / 0.9596 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.017, allocations: 3.938 kB / 0.9597 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009193/1.018, allocations: 0.9001 MB / 0.9605 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/1.021, allocations: 2.252 MB / 0.9627 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.021, allocations: 5.031 kB / 0.9627 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/1.022, allocations: 138.8 kB / 0.9629 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/1.022, allocations: 5.812 kB / 0.9629 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/1.022, allocations: 24.56 kB / 0.9629 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.022, allocations: 5.281 kB / 0.9629 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.022, allocations: 15.59 kB / 0.9629 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/1.023, allocations: 1.224 MB / 0.9641 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/1.024, allocations: 268.2 kB / 0.9644 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.024, allocations: 18.53 kB / 0.9644 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/1.025, allocations: 47.94 kB / 0.9644 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.025, allocations: 50.84 kB / 0.9645 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/1.025, allocations: 24 kB / 0.9645 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008099/1.025, allocations: 0.5823 MB / 0.9651 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/1.025, allocations: 0 / 0.9651 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001255/1.027, allocations: 0.5342 MB / 0.9656 GB, free: 12.55 MB / 0.6856 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.0004832/1.027, allocations: 241.1 kB / 0.9658 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.029, allocations: 0.8951 MB / 0.9667 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.029, allocations: 4 kB / 0.9667 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/1.03, allocations: 333.5 kB / 0.967 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.032, allocations: 0.6082 MB / 0.9676 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/1.035, allocations: 2.233 MB / 0.9698 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/1.036, allocations: 1.116 MB / 0.9709 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/1.036, allocations: 87.42 kB / 0.971 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of SimCode: time 3.2e-07/1.036, allocations: 4 kB / 0.971 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of Templates: time 0.02321/1.059, allocations: 17.24 MB / 0.9878 GB, free: 5.957 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.88279768708162] Failed to read output from testmodel.py, exit status != 0: 1.0672823819331825 1.07885298 0.08656883 Calling exit ...