Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001934/0.001934, 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.001643/0.001643, 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.01 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.224/0.224, allocations: 46.92 MB / 357.7 MB, free: 10.16 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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 75.88 kB / 0.4916 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 66.05 MB / 0.5561 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01207/0.1344, allocations: 8.44 MB / 0.5644 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.1473, allocations: 11.22 MB / 0.5753 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1474, allocations: 0 / 0.5753 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.1476, allocations: 39.8 kB / 0.5754 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.1528, allocations: 1.84 MB / 0.5772 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.414e-06/0.1528, allocations: 0 / 0.5772 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1529, allocations: 55.48 kB / 0.5772 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.1529, allocations: 4 kB / 0.5772 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.1531, allocations: 35.8 kB / 0.5773 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.1531, allocations: 19.91 kB / 0.5773 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.1531, allocations: 4 kB / 0.5773 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.1635, allocations: 6.717 MB / 0.5838 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.1636, allocations: 3.984 kB / 0.5839 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.1636, allocations: 19.88 kB / 0.5839 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.1764, allocations: 5.096 MB / 0.5888 GB, free: 3.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.1764, allocations: 4 kB / 0.5889 GB, free: 3.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.1764, allocations: 0 / 0.5889 GB, free: 3.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1764, allocations: 0 / 0.5889 GB, free: 3.926 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.004058/0.1805, allocations: 0.5789 MB / 0.5894 GB, free: 3.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.1805, allocations: 8.031 kB / 0.5894 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.162e-05/0.1805, allocations: 11.98 kB / 0.5894 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.1806, allocations: 38.55 kB / 0.5895 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1807, allocations: 8 kB / 0.5895 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1809, allocations: 174.9 kB / 0.5896 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1809, allocations: 4 kB / 0.5897 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1809, allocations: 7.938 kB / 0.5897 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1811, allocations: 81.61 kB / 0.5897 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1811, allocations: 0 / 0.5897 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1811, allocations: 7.984 kB / 0.5897 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1811, allocations: 4 kB / 0.5897 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1812, allocations: 71.97 kB / 0.5898 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.1817, allocations: 316.7 kB / 0.5901 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.869e-05/0.1818, allocations: 42.56 kB / 0.5902 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.1818, allocations: 24.92 kB / 0.5902 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003447/0.1853, allocations: 1.846 MB / 0.592 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1853, allocations: 30.56 kB / 0.592 GB, free: 256 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.1853, allocations: 0 / 0.592 GB, free: 256 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003087/0.1856, allocations: 113.7 kB / 0.5921 GB, free: 136 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1857, allocations: 55.41 kB / 0.5922 GB, free: 68 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2205/0.4062, allocations: 93.02 kB / 0.5923 GB, free: 33.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.4062, allocations: 26.83 kB / 0.5923 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.4062, allocations: 89.44 kB / 0.5924 GB, free: 33.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4063, allocations: 31.41 kB / 0.5924 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.4063, allocations: 21.72 kB / 0.5924 GB, free: 33.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.4064, allocations: 318.5 kB / 0.5927 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.4064, allocations: 23.73 kB / 0.5928 GB, free: 32.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.4065, allocations: 38.06 kB / 0.5928 GB, free: 32.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.4066, allocations: 65.25 kB / 0.5929 GB, free: 32.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4066, allocations: 0.8125 kB / 0.5929 GB, free: 32.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.4067, allocations: 96.48 kB / 0.5929 GB, free: 32.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4068, allocations: 7 kB / 0.593 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4068, allocations: 0 / 0.593 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4068, allocations: 10.59 kB / 0.593 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.4069, allocations: 8.203 kB / 0.593 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4069, allocations: 1.125 kB / 0.593 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.4069, allocations: 6.328 kB / 0.593 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.4069, allocations: 4.25 kB / 0.593 GB, free: 32.79 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.733e-05/0.407, allocations: 117.1 kB / 0.5931 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.407, allocations: 6.891 kB / 0.5931 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.4073, allocations: 159.9 kB / 0.5933 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001243/0.4074, allocations: 119 kB / 0.5934 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4074, allocations: 0 / 0.5934 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4074, allocations: 0.9375 kB / 0.5934 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.4078, allocations: 437.3 kB / 0.5938 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4078, allocations: 0.6875 kB / 0.5938 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.4079, allocations: 15 kB / 0.5938 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.4079, allocations: 1.594 kB / 0.5938 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4079, allocations: 3.375 kB / 0.5938 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4079, allocations: 3.625 kB / 0.5938 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4079, allocations: 0 / 0.5938 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.4081, allocations: 230.6 kB / 0.594 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.4081, allocations: 83.58 kB / 0.5941 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.4081, allocations: 3.156 kB / 0.5941 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.4081, allocations: 7.297 kB / 0.5941 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.4082, allocations: 11.22 kB / 0.5941 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4082, allocations: 0 / 0.5941 GB, free: 32.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.082e-05/0.4082, allocations: 84.45 kB / 0.5942 GB, free: 31.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4082, allocations: 0 / 0.5942 GB, free: 31.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00227/0.4105, allocations: 364 kB / 0.5946 GB, free: 31.97 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.01339/0.4239, allocations: 4.737 MB / 0.5992 GB, free: 29.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.4242, allocations: 99.47 kB / 0.5993 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4242, allocations: 0 / 0.5993 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/0.4242, allocations: 50.75 kB / 0.5993 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.4247, allocations: 36.75 kB / 0.5994 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.4267, allocations: 415.2 kB / 0.5998 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.4268, allocations: 0.694 MB / 0.6004 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.4269, allocations: 17.97 kB / 0.6004 GB, free: 28.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.4269, allocations: 27.3 kB / 0.6005 GB, free: 28.46 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4269, allocations: 1.719 kB / 0.6005 GB, free: 28.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/0.4786, allocations: 20.08 MB / 0.6201 GB, free: 22.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.958/9.436, allocations: 3.938 kB / 0.6201 GB, free: 22.07 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 62.450805922970176] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 9.586779382021632 9.597683564 9.419028189 Calling exit ...