Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001326/0.001326, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.00138/0.00138, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.406/1.406, allocations: 230.4 MB / 254.7 MB, free: 15.05 MB / 206.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.2174/0.2174, allocations: 46.93 MB / 357.7 MB, free: 10.2 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 76.16 kB / 0.4916 GB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1159, allocations: 66.05 MB / 0.5561 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01196/0.1278, allocations: 8.464 MB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1402, allocations: 11.21 MB / 0.5754 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.1403, allocations: 0 / 0.5754 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.1405, allocations: 39.8 kB / 0.5754 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.1452, allocations: 1.849 MB / 0.5772 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.242e-06/0.1452, allocations: 0 / 0.5772 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1453, allocations: 51.61 kB / 0.5773 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.1454, allocations: 4 kB / 0.5773 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1455, allocations: 35.84 kB / 0.5773 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.551e-05/0.1456, allocations: 15.88 kB / 0.5773 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.1456, allocations: 4 kB / 0.5773 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009605/0.1552, allocations: 6.717 MB / 0.5839 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.1552, allocations: 8 kB / 0.5839 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.1552, allocations: 15.88 kB / 0.5839 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.1665, allocations: 5.096 MB / 0.5889 GB, free: 3.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1665, allocations: 0 / 0.5889 GB, free: 3.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1665, allocations: 0 / 0.5889 GB, free: 3.973 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1665, allocations: 0 / 0.5889 GB, free: 3.973 MB / 446.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.002942/0.1695, allocations: 0.5828 MB / 0.5894 GB, free: 3.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1695, allocations: 16.03 kB / 0.5895 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.131e-05/0.1696, allocations: 4 kB / 0.5895 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.1696, allocations: 34.56 kB / 0.5895 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1697, allocations: 11.98 kB / 0.5895 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1698, allocations: 167 kB / 0.5897 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1698, allocations: 4 kB / 0.5897 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1699, allocations: 4 kB / 0.5897 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.17, allocations: 77.61 kB / 0.5897 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.17, allocations: 0 / 0.5897 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.17, allocations: 8 kB / 0.5898 GB, free: 2.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.17, allocations: 4 kB / 0.5898 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1702, allocations: 75.95 kB / 0.5898 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.1706, allocations: 316.7 kB / 0.5901 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.1707, allocations: 42.45 kB / 0.5902 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.1708, allocations: 28.91 kB / 0.5902 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003329/0.1741, allocations: 1.85 MB / 0.592 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.1741, allocations: 34.56 kB / 0.592 GB, free: 300 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1741, allocations: 0 / 0.592 GB, free: 300 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002817/0.1744, allocations: 113.7 kB / 0.5921 GB, free: 180 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1745, allocations: 51.41 kB / 0.5922 GB, free: 116 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.1745, allocations: 97.86 kB / 0.5923 GB, free: 8 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2359/0.4105, allocations: 25.7 kB / 0.5923 GB, free: 33.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.4105, allocations: 85.7 kB / 0.5924 GB, free: 33.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.4106, allocations: 29.3 kB / 0.5924 GB, free: 33.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.4106, allocations: 23.69 kB / 0.5924 GB, free: 33.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.4107, allocations: 321.4 kB / 0.5928 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/0.4107, allocations: 19.12 kB / 0.5928 GB, free: 32.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-05/0.4108, allocations: 36.31 kB / 0.5928 GB, free: 32.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.4109, allocations: 67.28 kB / 0.5929 GB, free: 32.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4109, allocations: 0.75 kB / 0.5929 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.4111, allocations: 101.6 kB / 0.593 GB, free: 32.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4111, allocations: 5.094 kB / 0.593 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4111, allocations: 0.9062 kB / 0.593 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4111, allocations: 7.672 kB / 0.593 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.4112, allocations: 9.75 kB / 0.593 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4112, allocations: 1.844 kB / 0.593 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.4112, allocations: 0.9375 kB / 0.593 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.4112, allocations: 8.391 kB / 0.593 GB, free: 32.88 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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 5.28e-05/0.4113, allocations: 111.3 kB / 0.5931 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.4113, allocations: 6.359 kB / 0.5931 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.4116, allocations: 160.8 kB / 0.5933 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001178/0.4117, allocations: 121.2 kB / 0.5934 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.4117, allocations: 0 / 0.5934 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4117, allocations: 0.6562 kB / 0.5934 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.4121, allocations: 434.8 kB / 0.5938 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4121, allocations: 5.109 kB / 0.5938 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.4121, allocations: 15.05 kB / 0.5938 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4121, allocations: 0 / 0.5938 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.4122, allocations: 3.469 kB / 0.5938 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4122, allocations: 0 / 0.5938 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4122, allocations: 0.75 kB / 0.5938 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.4123, allocations: 231.1 kB / 0.594 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.4124, allocations: 87.22 kB / 0.5941 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4124, allocations: 0 / 0.5941 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.4124, allocations: 9.062 kB / 0.5941 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.4124, allocations: 5.609 kB / 0.5941 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.4125, allocations: 3.656 kB / 0.5941 GB, free: 32.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.025e-05/0.4125, allocations: 81.2 kB / 0.5942 GB, free: 32.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4125, allocations: 0 / 0.5942 GB, free: 32.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002089/0.4146, allocations: 363.8 kB / 0.5946 GB, free: 32.06 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.01305/0.4276, allocations: 4.744 MB / 0.5992 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.4279, allocations: 107.6 kB / 0.5993 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4279, allocations: 0 / 0.5993 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.428, allocations: 44.72 kB / 0.5993 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.4285, allocations: 40.56 kB / 0.5994 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.4302, allocations: 409.5 kB / 0.5998 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.4304, allocations: 0.6924 MB / 0.6004 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.063e-05/0.4304, allocations: 25.05 kB / 0.6005 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.4305, allocations: 25.89 kB / 0.6005 GB, free: 28.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4305, allocations: 0 / 0.6005 GB, free: 28.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.4704, allocations: 20.09 MB / 0.6201 GB, free: 22.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.963/9.433, allocations: 4.062 kB / 0.6201 GB, free: 22.18 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 62.43641084298724] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 9.586024583026301 9.597045648 9.428254649 Calling exit ...