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_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.001695/0.001695, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.00198/0.00198, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.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.2244/0.2244, allocations: 46.93 MB / 357.7 MB, free: 10.2 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_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",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.002229/0.002229, allocations: 80.14 kB / 0.4917 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.131, allocations: 66.03 MB / 0.5561 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01212/0.1431, allocations: 8.456 MB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.1561, allocations: 11.22 MB / 0.5754 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.1562, allocations: 8 kB / 0.5754 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.1564, allocations: 39.78 kB / 0.5754 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.1616, allocations: 1.839 MB / 0.5772 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.673e-06/0.1616, allocations: 0 / 0.5772 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1617, allocations: 59.59 kB / 0.5773 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.1618, allocations: 4 kB / 0.5773 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1619, allocations: 35.86 kB / 0.5773 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.1619, allocations: 15.92 kB / 0.5773 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.1619, allocations: 0 / 0.5773 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009933/0.1719, allocations: 6.717 MB / 0.5839 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.1719, allocations: 7.922 kB / 0.5839 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.1719, allocations: 19.88 kB / 0.5839 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.1839, allocations: 5.096 MB / 0.5889 GB, free: 3.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1839, allocations: 3.938 kB / 0.5889 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1839, allocations: 4 kB / 0.5889 GB, free: 3.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1839, allocations: 3.938 kB / 0.5889 GB, free: 3.934 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.002844/0.1868, allocations: 0.5789 MB / 0.5895 GB, free: 3.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1868, allocations: 8.031 kB / 0.5895 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.1869, allocations: 38.56 kB / 0.5895 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.187, allocations: 7.984 kB / 0.5895 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1871, allocations: 167 kB / 0.5897 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1871, allocations: 4 kB / 0.5897 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1871, allocations: 4 kB / 0.5897 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1873, allocations: 81.61 kB / 0.5897 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1873, allocations: 3.938 kB / 0.5898 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1873, allocations: 8 kB / 0.5898 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1873, allocations: 0 / 0.5898 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1874, allocations: 75.95 kB / 0.5898 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.1879, allocations: 312.7 kB / 0.5901 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.188, allocations: 34.58 kB / 0.5902 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.1881, allocations: 40.94 kB / 0.5902 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00347/0.1915, allocations: 1.846 MB / 0.592 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1916, allocations: 34.56 kB / 0.592 GB, free: 276 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1916, allocations: 0 / 0.592 GB, free: 276 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003368/0.1919, allocations: 113.6 kB / 0.5921 GB, free: 156 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1919, allocations: 51.41 kB / 0.5922 GB, free: 92 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2538/0.4457, allocations: 98.45 kB / 0.5923 GB, free: 33.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4457, allocations: 25.7 kB / 0.5923 GB, free: 33.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.4458, allocations: 85.7 kB / 0.5924 GB, free: 33.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.4458, allocations: 32.33 kB / 0.5924 GB, free: 33.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.4458, allocations: 22.69 kB / 0.5924 GB, free: 33.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.4459, allocations: 320.1 kB / 0.5928 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.4459, allocations: 17.67 kB / 0.5928 GB, free: 32.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.446, allocations: 43.45 kB / 0.5928 GB, free: 32.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.4461, allocations: 64.7 kB / 0.5929 GB, free: 32.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4461, allocations: 0 / 0.5929 GB, free: 32.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.4463, allocations: 94.45 kB / 0.593 GB, free: 32.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4463, allocations: 7.875 kB / 0.593 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4463, allocations: 0 / 0.593 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4463, allocations: 3.75 kB / 0.593 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.4464, allocations: 12.67 kB / 0.593 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4464, allocations: 4.594 kB / 0.593 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.4464, allocations: 8 kB / 0.593 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.4464, allocations: 2.719 kB / 0.593 GB, free: 32.82 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 6.566e-05/0.4465, allocations: 117.6 kB / 0.5931 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.4466, allocations: 14.98 kB / 0.5931 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.4468, allocations: 149.4 kB / 0.5933 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001301/0.4469, allocations: 118 kB / 0.5934 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4469, allocations: 0 / 0.5934 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.447, allocations: 0 / 0.5934 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.4474, allocations: 433.7 kB / 0.5938 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4474, allocations: 2.562 kB / 0.5938 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.4474, allocations: 16.5 kB / 0.5938 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4474, allocations: 0.75 kB / 0.5938 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4474, allocations: 0 / 0.5938 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4474, allocations: 3.219 kB / 0.5938 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4474, allocations: 1.5 kB / 0.5938 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.4476, allocations: 234.8 kB / 0.594 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.4477, allocations: 84.52 kB / 0.5941 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.4477, allocations: 0.5625 kB / 0.5941 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.4477, allocations: 6.875 kB / 0.5941 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.4477, allocations: 6.906 kB / 0.5941 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.4477, allocations: 4.594 kB / 0.5941 GB, free: 32.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.205e-05/0.4478, allocations: 79.44 kB / 0.5942 GB, free: 32.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4478, allocations: 0.5469 kB / 0.5942 GB, free: 32.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002536/0.4503, allocations: 363.5 kB / 0.5946 GB, free: 32.01 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.0143/0.4646, allocations: 4.737 MB / 0.5992 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.4649, allocations: 105.5 kB / 0.5993 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4649, allocations: 2.531 kB / 0.5993 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.465, allocations: 45.14 kB / 0.5993 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.4655, allocations: 46.89 kB / 0.5994 GB, free: 29.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.4674, allocations: 413.1 kB / 0.5998 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.4675, allocations: 0.6929 MB / 0.6005 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.4675, allocations: 18.06 kB / 0.6005 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.4676, allocations: 26.88 kB / 0.6005 GB, free: 28.49 MB / 446.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4676, allocations: 1.531 kB / 0.6005 GB, free: 28.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05183/0.5194, allocations: 20.07 MB / 0.6201 GB, free: 22.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.656/9.175, allocations: 7.625 kB / 0.6201 GB, free: 22.17 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.010492279892787] Failed to read output from testmodel.py, exit status != 0: 9.268479997990653 9.277868943 9.09181641 Calling exit ...