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.001724/0.001724, allocations: 110.3 kB / 21.1 MB, free: 0.75 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.002133/0.002133, allocations: 206.6 kB / 24.38 MB, free: 4.156 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.427/1.427, allocations: 230.4 MB / 257.9 MB, free: 8.047 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.2554/0.2554, allocations: 46.94 MB / 361.3 MB, free: 4.207 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.002334/0.002334, allocations: 79.88 kB / 0.4966 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3124, allocations: 66.09 MB / 0.5611 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01255/0.3249, allocations: 8.432 MB / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.3388, allocations: 11.16 MB / 0.5802 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.3389, allocations: 0 / 0.5802 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.3391, allocations: 43.8 kB / 0.5803 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.3445, allocations: 1.857 MB / 0.5821 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.363e-06/0.3445, allocations: 0 / 0.5821 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3446, allocations: 55.59 kB / 0.5822 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.3447, allocations: 7.938 kB / 0.5822 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3448, allocations: 27.86 kB / 0.5822 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.3448, allocations: 19.91 kB / 0.5822 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.3448, allocations: 4 kB / 0.5822 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.3561, allocations: 6.69 MB / 0.5887 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.3561, allocations: 0 / 0.5887 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.3562, allocations: 23.84 kB / 0.5888 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.3712, allocations: 5.088 MB / 0.5937 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.3712, allocations: 3.984 kB / 0.5937 GB, free: 2.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3712, allocations: 0 / 0.5937 GB, free: 2.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3712, allocations: 0 / 0.5937 GB, free: 2.809 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.003295/0.3745, allocations: 0.5036 MB / 0.5942 GB, free: 2.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.3746, allocations: 16.03 kB / 0.5942 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.3746, allocations: 34.56 kB / 0.5943 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3747, allocations: 11.98 kB / 0.5943 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3749, allocations: 113.1 kB / 0.5944 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3749, allocations: 4 kB / 0.5944 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3749, allocations: 0 / 0.5944 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3751, allocations: 89.55 kB / 0.5945 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3751, allocations: 0 / 0.5945 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3751, allocations: 0 / 0.5945 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3751, allocations: 0 / 0.5945 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.3752, allocations: 83.95 kB / 0.5946 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.3758, allocations: 299.8 kB / 0.5949 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3759, allocations: 46.55 kB / 0.5949 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.3759, allocations: 28.86 kB / 0.5949 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003369/0.3793, allocations: 0.8037 MB / 0.5957 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.3793, allocations: 30.56 kB / 0.5957 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.385e-06/0.3793, allocations: 0 / 0.5957 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003891/0.3797, allocations: 113.7 kB / 0.5959 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.3798, allocations: 51.41 kB / 0.5959 GB, free: 452 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3799, allocations: 105.8 kB / 0.596 GB, free: 336 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3799, allocations: 25.7 kB / 0.596 GB, free: 304 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.38, allocations: 92.03 kB / 0.5961 GB, free: 208 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.38, allocations: 27.73 kB / 0.5961 GB, free: 180 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.3801, allocations: 25.7 kB / 0.5962 GB, free: 148 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3802, allocations: 322.8 kB / 0.5965 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.3803, allocations: 23.92 kB / 0.5965 GB, free: 15.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.3804, allocations: 37.7 kB / 0.5965 GB, free: 15.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/0.3805, allocations: 61.72 kB / 0.5966 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3805, allocations: 0 / 0.5966 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001718/0.3807, allocations: 97.95 kB / 0.5967 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3807, allocations: 4 kB / 0.5967 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3807, allocations: 3.938 kB / 0.5967 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3807, allocations: 4 kB / 0.5967 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3808, allocations: 15.92 kB / 0.5967 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3808, allocations: 4.031 kB / 0.5967 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.3808, allocations: 0 / 0.5967 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3809, allocations: 7.938 kB / 0.5967 GB, free: 15.55 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 9.141e-05/0.381, allocations: 113.8 kB / 0.5968 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.381, allocations: 7.953 kB / 0.5968 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.3813, allocations: 141.7 kB / 0.597 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001467/0.3814, allocations: 121.1 kB / 0.5971 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3814, allocations: 0 / 0.5971 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3814, allocations: 7.984 kB / 0.5971 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.3819, allocations: 405.4 kB / 0.5975 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3819, allocations: 0 / 0.5975 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.382, allocations: 15.94 kB / 0.5975 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.382, allocations: 3.938 kB / 0.5975 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.382, allocations: 8.188 kB / 0.5975 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.382, allocations: 0 / 0.5975 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.382, allocations: 3.938 kB / 0.5975 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.3823, allocations: 227.5 kB / 0.5977 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.3823, allocations: 7.938 kB / 0.5977 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3823, allocations: 3.938 kB / 0.5977 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.3824, allocations: 4.25 kB / 0.5977 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.3824, allocations: 3.984 kB / 0.5977 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3824, allocations: 15.94 kB / 0.5978 GB, free: 14.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.366e-05/0.3824, allocations: 79.28 kB / 0.5978 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3824, allocations: 0 / 0.5978 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002339/0.3848, allocations: 366.9 kB / 0.5982 GB, free: 13.96 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.01456/0.3993, allocations: 4.743 MB / 0.6028 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.3997, allocations: 101.7 kB / 0.6029 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3997, allocations: 4.062 kB / 0.6029 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.3997, allocations: 43.92 kB / 0.603 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.4002, allocations: 35.95 kB / 0.603 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.4022, allocations: 422.1 kB / 0.6034 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.4026, allocations: 0.6924 MB / 0.6041 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.4026, allocations: 16.06 kB / 0.6041 GB, free: 7.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.4027, allocations: 31.36 kB / 0.6041 GB, free: 7.773 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4027, allocations: 0 / 0.6041 GB, free: 7.773 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0564/0.4591, allocations: 20.26 MB / 0.6239 GB, free: 3.582 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.36, allocations: 8.062 kB / 0.6239 GB, free: 3.574 MB / 462.1 MB " [Timeout remaining time 648] (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: 15.165980591904372] Failed to read output from testmodel.py, exit status != 0: 12.492548133945093 12.506752641 12.132401273 Calling exit ...