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.001344/0.001344, allocations: 122.7 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.001546/0.001546, allocations: 211.3 kB / 21.41 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.492/1.492, allocations: 227.5 MB / 251.7 MB, free: 16 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.2245/0.2245, allocations: 46.15 MB / 351.1 MB, free: 14.29 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.002304/0.002304, allocations: 77.61 kB / 489.7 MB, free: 28.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1118, allocations: 62.46 MB / 0.5392 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01246/0.1243, allocations: 8.41 MB / 0.5474 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.14, allocations: 12.99 MB / 0.5601 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.1401, allocations: 0 / 0.5601 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1404, allocations: 39.73 kB / 0.5601 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.1469, allocations: 2.104 MB / 0.5622 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.147e-06/0.147, allocations: 0 / 0.5622 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1471, allocations: 55.61 kB / 0.5623 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.1471, allocations: 4 kB / 0.5623 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1473, allocations: 35.78 kB / 0.5623 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.517e-05/0.1473, allocations: 15.94 kB / 0.5623 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1473, allocations: 4 kB / 0.5623 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/0.1579, allocations: 6.008 MB / 0.5682 GB, free: 7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.158, allocations: 7.969 kB / 0.5682 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.158, allocations: 23.88 kB / 0.5682 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.1713, allocations: 4.791 MB / 0.5729 GB, free: 2.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1714, allocations: 0 / 0.5729 GB, free: 2.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1714, allocations: 0 / 0.5729 GB, free: 2.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1714, allocations: 0 / 0.5729 GB, free: 2.172 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.003004/0.1744, allocations: 0.6373 MB / 0.5735 GB, free: 1.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1745, allocations: 11.97 kB / 0.5735 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.1745, allocations: 42.55 kB / 0.5736 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1746, allocations: 4 kB / 0.5736 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1748, allocations: 171 kB / 0.5737 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1748, allocations: 4 kB / 0.5737 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1748, allocations: 7.984 kB / 0.5737 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.1752, allocations: 113.5 kB / 0.5738 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1752, allocations: 4 kB / 0.5739 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1752, allocations: 4 kB / 0.5739 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1752, allocations: 4 kB / 0.5739 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.1755, allocations: 123.8 kB / 0.574 GB, free: 0.9492 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.0006184/0.1762, allocations: 400 kB / 0.5744 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1765, allocations: 74.53 kB / 0.5744 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1766, allocations: 40.84 kB / 0.5745 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003872/0.1805, allocations: 2.139 MB / 0.5766 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1805, allocations: 30.56 kB / 0.5766 GB, free: 13.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.1806, allocations: 0 / 0.5766 GB, free: 13.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006906/0.1812, allocations: 141.6 kB / 0.5767 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1813, allocations: 51.41 kB / 0.5768 GB, free: 13.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1814, allocations: 101.8 kB / 0.5769 GB, free: 13.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1814, allocations: 25.7 kB / 0.5769 GB, free: 13.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.1815, allocations: 104 kB / 0.577 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.1815, allocations: 23.72 kB / 0.577 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.1816, allocations: 25.72 kB / 0.577 GB, free: 13.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1818, allocations: 326.8 kB / 0.5774 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1819, allocations: 23.98 kB / 0.5774 GB, free: 13.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.182, allocations: 45.94 kB / 0.5774 GB, free: 12.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.1822, allocations: 65.84 kB / 0.5775 GB, free: 12.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1822, allocations: 0 / 0.5775 GB, free: 12.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002901/0.1825, allocations: 101.6 kB / 0.5776 GB, free: 12.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1826, allocations: 9.875 kB / 0.5776 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1826, allocations: 0 / 0.5776 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1826, allocations: 0 / 0.5776 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1827, allocations: 23.98 kB / 0.5776 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1827, allocations: 0 / 0.5776 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.1828, allocations: 15.97 kB / 0.5776 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1828, allocations: 0 / 0.5776 GB, free: 12.75 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.0001096/0.1829, allocations: 121.7 kB / 0.5777 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.183, allocations: 4 kB / 0.5777 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.1835, allocations: 260.1 kB / 0.578 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1835, allocations: 3.984 kB / 0.578 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1835, allocations: 0 / 0.578 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1835, allocations: 0 / 0.578 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.1838, allocations: 225.5 kB / 0.5782 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1838, allocations: 4 kB / 0.5782 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.1839, allocations: 15.98 kB / 0.5782 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1839, allocations: 4 kB / 0.5782 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.184, allocations: 8.188 kB / 0.5782 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.184, allocations: 7.938 kB / 0.5782 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.184, allocations: 0 / 0.5782 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.1844, allocations: 263.2 kB / 0.5785 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.1844, allocations: 89 kB / 0.5786 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1845, allocations: 0 / 0.5786 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.1845, allocations: 0 / 0.5786 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1846, allocations: 19.98 kB / 0.5786 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1846, allocations: 4 kB / 0.5786 GB, free: 11.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.1846, allocations: 79.27 kB / 0.5787 GB, free: 11.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1847, allocations: 0 / 0.5787 GB, free: 11.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002153/0.1868, allocations: 382.8 kB / 0.579 GB, free: 11.19 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.01267/0.1995, allocations: 4.238 MB / 0.5832 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.1999, allocations: 99.95 kB / 0.5833 GB, free: 6.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1999, allocations: 0 / 0.5833 GB, free: 6.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.2001, allocations: 71.92 kB / 0.5834 GB, free: 6.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2004, allocations: 20.53 kB / 0.5834 GB, free: 6.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.2023, allocations: 454 kB / 0.5838 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.2026, allocations: 0.6924 MB / 0.5845 GB, free: 5.527 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.2027, allocations: 51.61 kB / 0.5845 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.2028, allocations: 35.36 kB / 0.5846 GB, free: 5.441 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2028, allocations: 0 / 0.5846 GB, free: 5.441 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04421/0.247, allocations: 18.08 MB / 0.6022 GB, free: 3.422 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/8.952, allocations: 3.5 kB / 0.6022 GB, free: 3.422 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 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.252615466015413] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 9.04336149385199 9.289465379 9.115554645 Calling exit ...