Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001423/0.001423, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001592/0.001592, allocations: 216.4 kB / 23.01 MB, free: 4.602 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8502/0.8502, allocations: 134 MB / 447.2 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") [Timeout 660] "Notification: IDEAS 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.001999/0.001999, allocations: 67.34 kB / 0.6198 GB, free: 6.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.19, allocations: 85.91 MB / 0.7037 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.7431/0.9332, allocations: 244.6 MB / 0.9425 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01471/0.9479, allocations: 7.23 MB / 0.9496 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.9499, allocations: 71.38 kB / 0.9496 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.9525, allocations: 0.726 MB / 0.9503 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006822/0.9593, allocations: 2.2 MB / 0.9525 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006429/0.9658, allocations: 2.115 MB / 0.9545 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005986/0.9717, allocations: 3.347 MB / 0.9578 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.9739, allocations: 0.8687 MB / 0.9587 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005455/0.9794, allocations: 1.892 MB / 0.9605 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.9825, allocations: 1.031 MB / 0.9615 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006064/0.9832, allocations: 124 kB / 0.9616 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/0.9897, allocations: 2.658 MB / 0.9642 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.9907, allocations: 474.5 kB / 0.9647 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.9926, allocations: 0.7233 MB / 0.9654 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006956/0.9995, allocations: 2.706 MB / 0.968 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.9996, allocations: 0 / 0.968 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.654e-06/0.9996, allocations: 4 kB / 0.968 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.922e-05/0.9996, allocations: 0 / 0.968 GB, free: 7.32 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.0052/1.005, allocations: 1.686 MB / 0.9697 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.005, allocations: 8.031 kB / 0.9697 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/1.008, allocations: 426.7 kB / 0.9701 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/1.011, allocations: 0.959 MB / 0.971 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.372e-05/1.011, allocations: 62 kB / 0.9711 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/1.011, allocations: 84 kB / 0.9712 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/1.013, allocations: 0.8624 MB / 0.972 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/1.014, allocations: 3.953 kB / 0.972 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.014, allocations: 32 kB / 0.9721 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/1.014, allocations: 33.94 kB / 0.9721 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/1.016, allocations: 0.8003 MB / 0.9729 GB, free: 2.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.00688/1.022, allocations: 3.588 MB / 0.9764 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/1.024, allocations: 0.6105 MB / 0.977 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/1.025, allocations: 346.6 kB / 0.9773 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006273/1.025, allocations: 100.4 kB / 0.9774 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/1.025, allocations: 50.67 kB / 0.9774 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=60): time 3.336e-06/1.025, allocations: 0 / 0.9774 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60): time 0.002539/1.028, allocations: 0.961 MB / 0.9784 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/1.028, allocations: 55.91 kB / 0.9784 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/1.029, allocations: 0.8399 MB / 0.9793 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/1.03, allocations: 37.7 kB / 0.9793 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/1.03, allocations: 496.7 kB / 0.9798 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/1.03, allocations: 226 kB / 0.98 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/1.03, allocations: 114.3 kB / 0.9801 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.031, allocations: 322 kB / 0.9804 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/1.031, allocations: 259.3 kB / 0.9806 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/1.032, allocations: 369.3 kB / 0.981 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.033, allocations: 0.6019 MB / 0.9816 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.033, allocations: 0 / 0.9816 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001594/1.035, allocations: 0.7348 MB / 0.9823 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.035, allocations: 4 kB / 0.9823 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.035, allocations: 4.125 kB / 0.9823 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.035, allocations: 4 kB / 0.9823 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/1.035, allocations: 127.8 kB / 0.9824 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.035, allocations: 7.984 kB / 0.9824 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/1.036, allocations: 67.59 kB / 0.9825 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/1.036, allocations: 23.98 kB / 0.9825 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009786/1.037, allocations: 0.4895 MB / 0.983 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006281/1.038, allocations: 365.3 kB / 0.9834 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001134/1.039, allocations: 0.5786 MB / 0.9839 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/1.039, allocations: 0 / 0.9839 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001548/1.041, allocations: 0.7386 MB / 0.9846 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.041, allocations: 4 kB / 0.9846 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/1.041, allocations: 0 / 0.9846 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/1.041, allocations: 4 kB / 0.9846 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/1.041, allocations: 123.9 kB / 0.9848 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.041, allocations: 12.06 kB / 0.9848 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/1.042, allocations: 71.61 kB / 0.9848 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/1.042, allocations: 20 kB / 0.9849 GB, free: 5.512 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.0002661/1.042, allocations: 214.3 kB / 0.9851 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/1.043, allocations: 107.3 kB / 0.9852 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/1.044, allocations: 0.7467 MB / 0.9859 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.044, allocations: 4 kB / 0.9859 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.044, allocations: 0 / 0.9859 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/1.046, allocations: 0.898 MB / 0.9868 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004516/1.05, allocations: 2.219 MB / 0.9889 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.05, allocations: 416 / 0.9889 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/1.051, allocations: 143.9 kB / 0.9891 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/1.051, allocations: 4 kB / 0.9891 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/1.051, allocations: 16 kB / 0.9891 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.699e-05/1.051, allocations: 11.94 kB / 0.9891 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.051, allocations: 4 kB / 0.9891 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/1.053, allocations: 1.264 MB / 0.9904 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/1.054, allocations: 191.1 kB / 0.9905 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/1.054, allocations: 16 kB / 0.9906 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007734/1.055, allocations: 43.95 kB / 0.9906 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/1.055, allocations: 56.22 kB / 0.9906 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/1.055, allocations: 27.98 kB / 0.9907 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001092/1.056, allocations: 0.5823 MB / 0.9912 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.056, allocations: 0 / 0.9912 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001757/1.058, allocations: 0.5419 MB / 0.9918 GB, free: 14.14 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.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 (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.0005612/1.059, allocations: 222.5 kB / 0.992 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002119/1.061, allocations: 0.8965 MB / 0.9929 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.061, allocations: 7.938 kB / 0.9929 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/1.061, allocations: 327.5 kB / 0.9932 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/1.065, allocations: 0.5896 MB / 0.9938 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/1.069, allocations: 2.218 MB / 0.9959 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.07, allocations: 1.12 MB / 0.997 GB, free: 8.684 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/1.071, allocations: 91.42 kB / 0.9971 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of SimCode: time 1.333e-06/1.071, allocations: 0 / 0.9971 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of Templates: time 0.03383/1.105, allocations: 17.27 MB / 1.014 GB, free: 7.492 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.609703909838572] Failed to read output from testmodel.py, exit status != 0: 1.1137458831071854 1.130562442 0.12733138900000002 Calling exit ...