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.001359/0.001359, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001465/0.001465, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.382/1.382, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2315/0.2315, allocations: 46.96 MB / 361.6 MB, free: 3.941 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.002346/0.002346, allocations: 79.88 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3467, allocations: 66.08 MB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01186/0.3585, allocations: 8.059 MB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.3712, allocations: 9.883 MB / 0.579 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.3713, allocations: 0 / 0.579 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.3715, allocations: 35.81 kB / 0.579 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.3767, allocations: 1.853 MB / 0.5808 GB, free: 168 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.616e-06/0.3768, allocations: 0 / 0.5808 GB, free: 168 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3769, allocations: 47.67 kB / 0.5808 GB, free: 120 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.3769, allocations: 3.938 kB / 0.5809 GB, free: 116 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3771, allocations: 31.84 kB / 0.5809 GB, free: 84 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.3771, allocations: 19.92 kB / 0.5809 GB, free: 64 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.3771, allocations: 0 / 0.5809 GB, free: 64 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.3877, allocations: 6.69 MB / 0.5874 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.3877, allocations: 11.92 kB / 0.5874 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.3877, allocations: 15.92 kB / 0.5875 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.4024, allocations: 5.092 MB / 0.5924 GB, free: 4.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4024, allocations: 0 / 0.5924 GB, free: 4.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.781e-06/0.4024, allocations: 3.984 kB / 0.5924 GB, free: 4.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.4024, allocations: 0 / 0.5924 GB, free: 4.23 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.00317/0.4056, allocations: 0.4997 MB / 0.5929 GB, free: 3.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4057, allocations: 12.03 kB / 0.5929 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.767e-05/0.4057, allocations: 4 kB / 0.5929 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.046e-05/0.4058, allocations: 38.56 kB / 0.593 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.4059, allocations: 7.984 kB / 0.593 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.406, allocations: 113.1 kB / 0.5931 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.406, allocations: 0 / 0.5931 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.406, allocations: 11.98 kB / 0.5931 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.4062, allocations: 81.59 kB / 0.5932 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4062, allocations: 0 / 0.5932 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4062, allocations: 0 / 0.5932 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.4062, allocations: 11.94 kB / 0.5932 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.4064, allocations: 79.95 kB / 0.5933 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.4069, allocations: 299.7 kB / 0.5936 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.381e-05/0.407, allocations: 34.58 kB / 0.5936 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.407, allocations: 24.91 kB / 0.5936 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002997/0.41, allocations: 0.8076 MB / 0.5944 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4101, allocations: 34.56 kB / 0.5944 GB, free: 2.047 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4101, allocations: 0 / 0.5944 GB, free: 2.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003454/0.4104, allocations: 113.7 kB / 0.5945 GB, free: 1.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4104, allocations: 55.39 kB / 0.5946 GB, free: 1.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.4105, allocations: 93.86 kB / 0.5947 GB, free: 1.762 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4105, allocations: 25.7 kB / 0.5947 GB, free: 1.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.4106, allocations: 92.03 kB / 0.5948 GB, free: 1.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.4106, allocations: 31.73 kB / 0.5948 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.4107, allocations: 21.72 kB / 0.5948 GB, free: 1.578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4108, allocations: 318.8 kB / 0.5952 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/0.4109, allocations: 28.05 kB / 0.5952 GB, free: 1.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.4109, allocations: 41.64 kB / 0.5952 GB, free: 1.184 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.411, allocations: 65.7 kB / 0.5953 GB, free: 1.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.411, allocations: 384 / 0.5953 GB, free: 1.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.4112, allocations: 97.52 kB / 0.5954 GB, free: 1.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4112, allocations: 4 kB / 0.5954 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4112, allocations: 0 / 0.5954 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4112, allocations: 4 kB / 0.5954 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.4113, allocations: 11.94 kB / 0.5954 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4113, allocations: 4.031 kB / 0.5954 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.4113, allocations: 0 / 0.5954 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.4114, allocations: 12.12 kB / 0.5954 GB, free: 0.9766 MB / 430.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.856e-05/0.4115, allocations: 113.8 kB / 0.5955 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.4115, allocations: 3.953 kB / 0.5955 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.4118, allocations: 153.7 kB / 0.5957 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001508/0.4119, allocations: 113.7 kB / 0.5958 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4119, allocations: 0 / 0.5958 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4119, allocations: 0 / 0.5958 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.4124, allocations: 409.5 kB / 0.5962 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4124, allocations: 96 / 0.5962 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.4125, allocations: 23.88 kB / 0.5962 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4125, allocations: 3.938 kB / 0.5962 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4125, allocations: 7.984 kB / 0.5962 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4125, allocations: 0 / 0.5962 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4125, allocations: 0 / 0.5962 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.4127, allocations: 219.5 kB / 0.5964 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.4128, allocations: 12.06 kB / 0.5964 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.4128, allocations: 0 / 0.5964 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.4128, allocations: 0 / 0.5964 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.4129, allocations: 23.91 kB / 0.5964 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4129, allocations: 7.938 kB / 0.5965 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.4129, allocations: 75.28 kB / 0.5965 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4129, allocations: 0 / 0.5965 GB, free: 15.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002559/0.4155, allocations: 370.9 kB / 0.5969 GB, free: 15.39 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.01489/0.4304, allocations: 4.749 MB / 0.6015 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.4307, allocations: 101.7 kB / 0.6016 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4307, allocations: 4 kB / 0.6016 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.4307, allocations: 43.92 kB / 0.6017 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.4312, allocations: 39.95 kB / 0.6017 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.4334, allocations: 410.6 kB / 0.6021 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.4335, allocations: 87.02 kB / 0.6022 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.334e-05/0.4336, allocations: 11.94 kB / 0.6022 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.4336, allocations: 27.42 kB / 0.6022 GB, free: 9.824 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4336, allocations: 0 / 0.6022 GB, free: 9.824 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/0.482, allocations: 20.47 MB / 0.6222 GB, free: 5.445 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.03, allocations: 8.875 kB / 0.6222 GB, free: 5.441 MB / 462.1 MB " [Timeout remaining time 648] (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: 65.09661946806591] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.214942311984487 12.242100364 11.834539362 Calling exit ...