Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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.001382/0.001382, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001571/0.001571, allocations: 215.8 kB / 23.01 MB, free: 4.566 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.06224/0.06224, allocations: 9.14 MB / 322.3 MB, free: 10.43 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 75.88 kB / 447.8 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.109, allocations: 54.94 MB / 0.491 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01831/0.1273, allocations: 13.37 MB / 0.5041 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2405/0.3678, allocations: 17.89 MB / 0.5215 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.368, allocations: 1.188 kB / 0.5215 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.3683, allocations: 54.5 kB / 0.5216 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3684, allocations: 72.73 kB / 0.5217 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01993/0.3883, allocations: 6.748 MB / 0.5282 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.3887, allocations: 170 kB / 0.5284 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.3888, allocations: 10.72 kB / 0.5284 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.389, allocations: 76.5 kB / 0.5285 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.3891, allocations: 62.39 kB / 0.5285 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.3891, allocations: 4.188 kB / 0.5285 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02418/0.4133, allocations: 10.87 MB / 0.5392 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.4134, allocations: 18.34 kB / 0.5392 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.4135, allocations: 60.31 kB / 0.5392 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01947/0.433, allocations: 6.102 MB / 0.5452 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.433, allocations: 0 / 0.5452 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.433, allocations: 5.094 kB / 0.5452 GB, free: 1.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.433, allocations: 0 / 0.5452 GB, free: 1.902 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.006236/0.4392, allocations: 1.324 MB / 0.5465 GB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4393, allocations: 8.094 kB / 0.5465 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.4394, allocations: 27.73 kB / 0.5465 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4397, allocations: 162 kB / 0.5467 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.4397, allocations: 12.12 kB / 0.5467 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.4397, allocations: 12.25 kB / 0.5467 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008472/0.4406, allocations: 330.7 kB / 0.547 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4406, allocations: 0 / 0.547 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4406, allocations: 4 kB / 0.547 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4406, allocations: 2.875 kB / 0.547 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008896/0.4415, allocations: 315 kB / 0.5473 GB, free: 468 kB / 382.1 MB 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.001017/0.4425, allocations: 1.026 MB / 0.5483 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/0.4434, allocations: 280.6 kB / 0.5486 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.4436, allocations: 90.67 kB / 0.5487 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4417/0.8854, allocations: 122.2 MB / 0.668 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.8854, allocations: 34.56 kB / 0.6681 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/0.8854, allocations: 0 / 0.6681 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.001974/0.8874, allocations: 493 kB / 0.6685 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.8875, allocations: 106.8 kB / 0.6686 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.8876, allocations: 150.2 kB / 0.6688 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.8877, allocations: 29.95 kB / 0.6688 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.8877, allocations: 119.9 kB / 0.6689 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.8878, allocations: 46.78 kB / 0.669 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.8879, allocations: 41.7 kB / 0.669 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.888, allocations: 318.8 kB / 0.6693 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.8882, allocations: 55.94 kB / 0.6694 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.8884, allocations: 121.7 kB / 0.6695 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.8889, allocations: 171 kB / 0.6697 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8889, allocations: 7.938 kB / 0.6697 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005234/0.8894, allocations: 209.3 kB / 0.6699 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.8894, allocations: 8 kB / 0.6699 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8894, allocations: 0.8125 kB / 0.6699 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.8894, allocations: 8.156 kB / 0.6699 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.8897, allocations: 51.89 kB / 0.6699 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.8897, allocations: 4 kB / 0.6699 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.8898, allocations: 27.88 kB / 0.67 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.8898, allocations: 4 kB / 0.67 GB, free: 5.945 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001191/0.89, allocations: 125.8 kB / 0.6701 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.89, allocations: 15.94 kB / 0.6701 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.8914, allocations: 1.195 MB / 0.6713 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.8914, allocations: 17 kB / 0.6713 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8914, allocations: 0 / 0.6713 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.8914, allocations: 7.938 kB / 0.6713 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.8921, allocations: 0.5685 MB / 0.6718 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8921, allocations: 4 kB / 0.6718 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.8923, allocations: 39.89 kB / 0.6719 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8923, allocations: 0 / 0.6719 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.8923, allocations: 7.938 kB / 0.6719 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8923, allocations: 4 kB / 0.6719 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8923, allocations: 0 / 0.6719 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.8934, allocations: 0.8671 MB / 0.6727 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.8935, allocations: 67.34 kB / 0.6728 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.8935, allocations: 5.75 kB / 0.6728 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.8937, allocations: 23.97 kB / 0.6728 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.8938, allocations: 20.48 kB / 0.6729 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.8938, allocations: 4 kB / 0.6729 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.808e-05/0.8939, allocations: 116 kB / 0.673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.8939, allocations: 0 / 0.673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005071/0.899, allocations: 1.45 MB / 0.6744 GB, free: 1.352 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.008555/0.9075, allocations: 1.705 MB / 0.676 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007613/0.9083, allocations: 310.7 kB / 0.6763 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9083, allocations: 288 / 0.6763 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.9087, allocations: 221.3 kB / 0.6766 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.9093, allocations: 51.95 kB / 0.6766 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.9104, allocations: 0.8103 MB / 0.6774 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.9108, allocations: 0.7923 MB / 0.6782 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.9109, allocations: 19.44 kB / 0.6782 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.9109, allocations: 0 / 0.6782 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.04381/0.9547, allocations: 28.03 MB / 0.7056 GB, free: 1.461 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.652028360054828] Failed to read output from testmodel.py, exit status != 0: 0.9623265410773456 0.979274724 0.542685435 Calling exit ...