Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00197/0.00197, allocations: 116.1 kB / 19.13 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002466/0.002466, allocations: 208.9 kB / 22.08 MB, free: 1.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 80.17 kB / 490.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1453, allocations: 62.45 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01387/0.1592, allocations: 8.413 MB / 0.5485 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.1754, allocations: 13 MB / 0.5612 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.1755, allocations: 0 / 0.5612 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.1757, allocations: 39.8 kB / 0.5613 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006861/0.1827, allocations: 2.11 MB / 0.5633 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.917e-06/0.1827, allocations: 0 / 0.5633 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1828, allocations: 51.61 kB / 0.5634 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.1829, allocations: 7.984 kB / 0.5634 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.1831, allocations: 31.86 kB / 0.5634 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.1831, allocations: 19.92 kB / 0.5634 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1832, allocations: 0 / 0.5634 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.1945, allocations: 6.016 MB / 0.5693 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1946, allocations: 0 / 0.5693 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.1947, allocations: 19.88 kB / 0.5693 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.2086, allocations: 4.791 MB / 0.574 GB, free: 1.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2087, allocations: 3.938 kB / 0.574 GB, free: 1.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.2087, allocations: 0 / 0.574 GB, free: 1.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.2087, allocations: 0 / 0.574 GB, free: 1.652 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003207/0.2119, allocations: 0.644 MB / 0.5747 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.212, allocations: 8.031 kB / 0.5747 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.2121, allocations: 7.984 kB / 0.5747 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.2123, allocations: 171 kB / 0.5748 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2123, allocations: 0 / 0.5748 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.2124, allocations: 8 kB / 0.5748 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.2127, allocations: 109.6 kB / 0.5749 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2127, allocations: 3.938 kB / 0.5749 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2128, allocations: 8 kB / 0.575 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2128, allocations: 3.938 kB / 0.575 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.2131, allocations: 119.9 kB / 0.5751 GB, free: 496 kB / 430.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.0006396/0.2138, allocations: 356.5 kB / 0.5754 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.2141, allocations: 74.53 kB / 0.5755 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.2142, allocations: 44.77 kB / 0.5755 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003824/0.218, allocations: 2.135 MB / 0.5776 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.2181, allocations: 30.56 kB / 0.5776 GB, free: 13.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.2181, allocations: 0 / 0.5776 GB, free: 13.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007224/0.2188, allocations: 153.5 kB / 0.5778 GB, free: 13.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.2189, allocations: 51.41 kB / 0.5778 GB, free: 13.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.219, allocations: 97.86 kB / 0.5779 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.219, allocations: 25.7 kB / 0.578 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.2191, allocations: 100 kB / 0.578 GB, free: 13.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.2191, allocations: 23.8 kB / 0.5781 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.2192, allocations: 25.7 kB / 0.5781 GB, free: 12.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2193, allocations: 322.8 kB / 0.5784 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2194, allocations: 23.98 kB / 0.5784 GB, free: 12.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.2196, allocations: 41.69 kB / 0.5785 GB, free: 12.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.2198, allocations: 69.62 kB / 0.5785 GB, free: 12.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2198, allocations: 0 / 0.5785 GB, free: 12.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003024/0.2201, allocations: 101.7 kB / 0.5786 GB, free: 12.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.2201, allocations: 4 kB / 0.5786 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2201, allocations: 3.984 kB / 0.5786 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.2202, allocations: 0 / 0.5786 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2203, allocations: 27.92 kB / 0.5787 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.2203, allocations: 0 / 0.5787 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.2204, allocations: 11.98 kB / 0.5787 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2204, allocations: 4 kB / 0.5787 GB, free: 12.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001448/0.2206, allocations: 113.8 kB / 0.5788 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.2206, allocations: 4 kB / 0.5788 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.2212, allocations: 257.2 kB / 0.579 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/0.2212, allocations: 4 kB / 0.579 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.2212, allocations: 7.938 kB / 0.579 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2212, allocations: 0 / 0.579 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.2215, allocations: 233.5 kB / 0.5793 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2216, allocations: 0 / 0.5793 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/0.2217, allocations: 19.98 kB / 0.5793 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2217, allocations: 0 / 0.5793 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2217, allocations: 7.984 kB / 0.5793 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2217, allocations: 4 kB / 0.5793 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2217, allocations: 0 / 0.5793 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.2221, allocations: 251.3 kB / 0.5795 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.2222, allocations: 89 kB / 0.5796 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2222, allocations: 4 kB / 0.5796 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.2223, allocations: 4 kB / 0.5796 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.2224, allocations: 19.97 kB / 0.5797 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.2224, allocations: 4 kB / 0.5797 GB, free: 11.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.2224, allocations: 75.28 kB / 0.5797 GB, free: 11.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2225, allocations: 0 / 0.5797 GB, free: 11.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002393/0.2249, allocations: 378.9 kB / 0.5801 GB, free: 10.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01209/0.237, allocations: 3.57 MB / 0.5836 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.2374, allocations: 95.88 kB / 0.5837 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2374, allocations: 0 / 0.5837 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.2376, allocations: 72.12 kB / 0.5837 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.2379, allocations: 20.27 kB / 0.5838 GB, free: 7.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.2385, allocations: 283.2 kB / 0.584 GB, free: 6.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.2388, allocations: 0.6924 MB / 0.5847 GB, free: 5.988 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.2389, allocations: 23.44 kB / 0.5847 GB, free: 5.965 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2389, allocations: 0 / 0.5847 GB, free: 5.965 MB / 446.1 MB Notification: Performance of Templates: time 0.02321/0.2621, allocations: 16.9 MB / 0.6012 GB, free: 5.047 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.386204843991436] Failed to read output from testmodel.py, exit status != 0: 0.2690717049408704 0.539539767 0.32711104499999993 Calling exit ...