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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 104.3 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 207 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9446/0.9446, allocations: 149.9 MB / 463.8 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 66.53 kB / 0.6423 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1871, allocations: 89.17 MB / 0.7294 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.7001/0.8872, allocations: 213.2 MB / 0.9376 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.9009, allocations: 6.794 MB / 0.9442 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.9028, allocations: 75.31 kB / 0.9443 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.9052, allocations: 0.6832 MB / 0.9449 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006569/0.9117, allocations: 2.159 MB / 0.947 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005764/0.9175, allocations: 2.067 MB / 0.9491 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005754/0.9232, allocations: 3.314 MB / 0.9523 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.9252, allocations: 0.8532 MB / 0.9531 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005461/0.9306, allocations: 2.176 MB / 0.9553 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.9333, allocations: 0.9554 MB / 0.9562 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002918/0.9336, allocations: 120 kB / 0.9563 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005286/0.9389, allocations: 2.018 MB / 0.9583 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007247/0.9396, allocations: 470.5 kB / 0.9587 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.9407, allocations: 0.5912 MB / 0.9593 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005726/0.9465, allocations: 2.628 MB / 0.9619 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.9465, allocations: 7.938 kB / 0.9619 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.726e-06/0.9465, allocations: 4 kB / 0.9619 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.423e-05/0.9465, allocations: 0 / 0.9619 GB, free: 6.539 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.003319/0.9498, allocations: 1.678 MB / 0.9635 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.9499, allocations: 12.03 kB / 0.9635 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.9525, allocations: 430.7 kB / 0.9639 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.9546, allocations: 0.9707 MB / 0.9649 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.9546, allocations: 73.98 kB / 0.965 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.9548, allocations: 80.75 kB / 0.965 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.9565, allocations: 1.013 MB / 0.966 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.9566, allocations: 0 / 0.966 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/0.9567, allocations: 28 kB / 0.9661 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.9567, allocations: 34 kB / 0.9661 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.9583, allocations: 0.8042 MB / 0.9669 GB, free: 1.305 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.004611/0.9629, allocations: 2.234 MB / 0.9691 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.9643, allocations: 0.6135 MB / 0.9697 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.9649, allocations: 347.3 kB / 0.97 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.9655, allocations: 100.4 kB / 0.9701 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.9655, allocations: 43 kB / 0.9701 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=60): time 3.015e-06/0.9655, allocations: 3.938 kB / 0.9701 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60): time 0.002292/0.9678, allocations: 0.9532 MB / 0.9711 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.9679, allocations: 59.91 kB / 0.9711 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.969, allocations: 0.7672 MB / 0.9719 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.9691, allocations: 45.7 kB / 0.9719 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.9695, allocations: 496.7 kB / 0.9724 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.9698, allocations: 226.1 kB / 0.9726 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.97, allocations: 106.3 kB / 0.9727 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.9701, allocations: 330 kB / 0.973 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.9707, allocations: 259.3 kB / 0.9733 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/0.9715, allocations: 0.6102 MB / 0.9739 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.9727, allocations: 0.5981 MB / 0.9744 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9727, allocations: 0 / 0.9744 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001598/0.9743, allocations: 0.7425 MB / 0.9752 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9743, allocations: 4 kB / 0.9752 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.9743, allocations: 4 kB / 0.9752 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9743, allocations: 4 kB / 0.9752 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.9749, allocations: 127.8 kB / 0.9753 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.9749, allocations: 6.578 kB / 0.9753 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.9757, allocations: 60.69 kB / 0.9754 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.9757, allocations: 23.98 kB / 0.9754 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008943/0.9766, allocations: 0.4895 MB / 0.9759 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007609/0.9774, allocations: 0.603 MB / 0.9765 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001109/0.9785, allocations: 0.5825 MB / 0.977 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.9785, allocations: 4 kB / 0.977 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001458/0.98, allocations: 0.727 MB / 0.9777 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.98, allocations: 10.17 kB / 0.9777 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.98, allocations: 0 / 0.9777 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.98, allocations: 4 kB / 0.9777 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.9806, allocations: 127.8 kB / 0.9779 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.9806, allocations: 4 kB / 0.9779 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.9813, allocations: 70.59 kB / 0.9779 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.9814, allocations: 24 kB / 0.978 GB, free: 5.617 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.9816, allocations: 212.1 kB / 0.9782 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.9818, allocations: 107.3 kB / 0.9783 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.9833, allocations: 0.7335 MB / 0.979 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.9834, allocations: 4 kB / 0.979 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9834, allocations: 0 / 0.979 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/0.9847, allocations: 0.9019 MB / 0.9799 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/0.9884, allocations: 1.832 MB / 0.9817 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.9884, allocations: 0 / 0.9817 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/0.9891, allocations: 140.1 kB / 0.9818 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.9891, allocations: 12 kB / 0.9818 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.9891, allocations: 24.16 kB / 0.9818 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.9891, allocations: 4 kB / 0.9818 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.9891, allocations: 11.88 kB / 0.9818 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.9913, allocations: 1.229 MB / 0.983 GB, free: 184 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/0.9918, allocations: 187.2 kB / 0.9832 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.9919, allocations: 12 kB / 0.9832 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.9926, allocations: 39.91 kB / 0.9833 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.9927, allocations: 52.3 kB / 0.9833 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.9928, allocations: 20 kB / 0.9833 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008007/0.9936, allocations: 0.538 MB / 0.9839 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.9936, allocations: 4 kB / 0.9839 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001338/0.9949, allocations: 0.5496 MB / 0.9844 GB, free: 14.79 MB / 0.7637 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.0004275/0.9953, allocations: 219 kB / 0.9846 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.9973, allocations: 0.9043 MB / 0.9855 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.9973, allocations: 0 / 0.9855 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.9979, allocations: 327.5 kB / 0.9858 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1, allocations: 0.5424 MB / 0.9863 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/1.004, allocations: 2.225 MB / 0.9885 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/1.005, allocations: 0.5321 MB / 0.989 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/1.005, allocations: 83.42 kB / 0.9891 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of SimCode: time 8.72e-07/1.005, allocations: 0 / 0.9891 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of Templates: time 0.02824/1.033, allocations: 17.07 MB / 1.006 GB, free: 8.965 MB / 0.7794 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: 12.009828708134592] Failed to read output from testmodel.py, exit status != 0: 1.0425430689938366 1.0578493900000001 0.10796203500000001 Calling exit ...