Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001734/0.001734, allocations: 121.5 kB / 18.46 MB, free: 4.59 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.002065/0.002065, allocations: 209.8 kB / 21.4 MB, free: 1.645 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.529/1.529, allocations: 227.5 MB / 251.7 MB, free: 32 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.235/0.235, allocations: 46.14 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 85.19 kB / 489.7 MB, free: 28.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1214, allocations: 62.45 MB / 0.5392 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01279/0.1342, allocations: 8.416 MB / 0.5474 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.1491, allocations: 12.99 MB / 0.5601 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.1492, allocations: 4 kB / 0.5601 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1495, allocations: 39.78 kB / 0.5601 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005831/0.1553, allocations: 2.111 MB / 0.5622 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.061e-06/0.1553, allocations: 0 / 0.5622 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1554, allocations: 47.62 kB / 0.5623 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.1555, allocations: 3.984 kB / 0.5623 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1556, allocations: 39.84 kB / 0.5623 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.1557, allocations: 11.94 kB / 0.5623 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.1557, allocations: 0 / 0.5623 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.166, allocations: 6.012 MB / 0.5682 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.166, allocations: 11.98 kB / 0.5682 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.1661, allocations: 15.88 kB / 0.5682 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.1794, allocations: 4.795 MB / 0.5729 GB, free: 2.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1794, allocations: 0 / 0.5729 GB, free: 2.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1794, allocations: 4 kB / 0.5729 GB, free: 2.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.1795, allocations: 0 / 0.5729 GB, free: 2.152 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.003896/0.1834, allocations: 0.6362 MB / 0.5735 GB, free: 1.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1834, allocations: 8.031 kB / 0.5735 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.1835, allocations: 38.56 kB / 0.5736 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1836, allocations: 7.984 kB / 0.5736 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1837, allocations: 178.9 kB / 0.5737 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1838, allocations: 0 / 0.5737 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1838, allocations: 8 kB / 0.5737 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.1841, allocations: 113.6 kB / 0.5738 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1842, allocations: 3.938 kB / 0.5739 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1842, allocations: 0 / 0.5739 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1842, allocations: 4 kB / 0.5739 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.1846, allocations: 127.9 kB / 0.574 GB, free: 0.9336 MB / 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.0005966/0.1852, allocations: 404 kB / 0.5744 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1855, allocations: 74.53 kB / 0.5744 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1856, allocations: 32.84 kB / 0.5745 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00378/0.1894, allocations: 2.139 MB / 0.5766 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1894, allocations: 34.56 kB / 0.5766 GB, free: 13.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1894, allocations: 0 / 0.5766 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006466/0.1901, allocations: 145.5 kB / 0.5767 GB, free: 13.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.1901, allocations: 51.41 kB / 0.5768 GB, free: 13.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.1902, allocations: 101.8 kB / 0.5769 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1902, allocations: 29.7 kB / 0.5769 GB, free: 13.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1903, allocations: 96.05 kB / 0.577 GB, free: 13.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1903, allocations: 31.78 kB / 0.577 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1904, allocations: 21.7 kB / 0.577 GB, free: 13.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1906, allocations: 322.8 kB / 0.5773 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1907, allocations: 23.97 kB / 0.5774 GB, free: 13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1908, allocations: 37.7 kB / 0.5774 GB, free: 12.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.191, allocations: 73.62 kB / 0.5775 GB, free: 12.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.191, allocations: 0 / 0.5775 GB, free: 12.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003018/0.1913, allocations: 106.1 kB / 0.5776 GB, free: 12.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1913, allocations: 4 kB / 0.5776 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1914, allocations: 0 / 0.5776 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1914, allocations: 0 / 0.5776 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1915, allocations: 24.02 kB / 0.5776 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1915, allocations: 4.062 kB / 0.5776 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.1916, allocations: 7.953 kB / 0.5776 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1916, allocations: 11.98 kB / 0.5776 GB, free: 12.72 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 8.349e-05/0.1917, allocations: 109.8 kB / 0.5777 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.1917, allocations: 4 kB / 0.5777 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.1922, allocations: 261.1 kB / 0.578 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1923, allocations: 0 / 0.578 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1923, allocations: 0 / 0.578 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1923, allocations: 3.984 kB / 0.578 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1926, allocations: 233.5 kB / 0.5782 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1926, allocations: 0 / 0.5782 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.1927, allocations: 24.17 kB / 0.5782 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1927, allocations: 4 kB / 0.5782 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1927, allocations: 0 / 0.5782 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1927, allocations: 0 / 0.5782 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1927, allocations: 3.984 kB / 0.5782 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.1931, allocations: 259.2 kB / 0.5785 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.1932, allocations: 89 kB / 0.5786 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1932, allocations: 7.984 kB / 0.5786 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.1933, allocations: 8 kB / 0.5786 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.1933, allocations: 7.984 kB / 0.5786 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.1933, allocations: 4 kB / 0.5786 GB, free: 11.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.1934, allocations: 79.28 kB / 0.5787 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1934, allocations: 0 / 0.5787 GB, free: 11.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00191/0.1953, allocations: 382.8 kB / 0.579 GB, free: 11.17 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.01329/0.2086, allocations: 4.242 MB / 0.5832 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004787/0.2091, allocations: 95.89 kB / 0.5833 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2092, allocations: 0 / 0.5833 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.2093, allocations: 75.86 kB / 0.5833 GB, free: 6.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.2097, allocations: 19.98 kB / 0.5834 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.2117, allocations: 450.7 kB / 0.5838 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.212, allocations: 0.6963 MB / 0.5845 GB, free: 5.508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.2121, allocations: 51.61 kB / 0.5845 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.2122, allocations: 27.42 kB / 0.5846 GB, free: 5.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2122, allocations: 4 kB / 0.5846 GB, free: 5.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04429/0.2565, allocations: 18.08 MB / 0.6022 GB, free: 3.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.83/9.087, allocations: 7.688 kB / 0.6022 GB, free: 3.406 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.316760241053998] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 9.175251783104613 9.430931031 9.24835126 Calling exit ...