Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001224/0.001224, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001389/0.001389, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.4/1.4, allocations: 230.5 MB / 258.2 MB, free: 7.754 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.2255/0.2255, allocations: 46.95 MB / 361.6 MB, free: 3.91 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_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 79.88 kB / 0.4969 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3356, allocations: 66.08 MB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01232/0.3479, allocations: 8.334 MB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.3625, allocations: 12.38 MB / 0.5817 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.3626, allocations: 11.88 kB / 0.5817 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.3628, allocations: 31.81 kB / 0.5817 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.3696, allocations: 2.432 MB / 0.5841 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.3697, allocations: 23.91 kB / 0.5841 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.3699, allocations: 131.2 kB / 0.5842 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.3699, allocations: 3.984 kB / 0.5842 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3701, allocations: 63.77 kB / 0.5843 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3702, allocations: 35.86 kB / 0.5843 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3702, allocations: 7.938 kB / 0.5843 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/0.3826, allocations: 7.271 MB / 0.5914 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.3827, allocations: 11.97 kB / 0.5914 GB, free: 5.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.3828, allocations: 39.88 kB / 0.5915 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.4008, allocations: 6.344 MB / 0.5977 GB, free: 14.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.4008, allocations: 0 / 0.5977 GB, free: 14.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4008, allocations: 0 / 0.5977 GB, free: 14.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.4008, allocations: 0 / 0.5977 GB, free: 14.81 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004173/0.405, allocations: 0.6637 MB / 0.5983 GB, free: 14.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4051, allocations: 8.031 kB / 0.5983 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.648e-05/0.4051, allocations: 4 kB / 0.5983 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.4051, allocations: 42.55 kB / 0.5984 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.4053, allocations: 27.94 kB / 0.5984 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.4054, allocations: 117.1 kB / 0.5985 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.4055, allocations: 8 kB / 0.5985 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.4055, allocations: 4 kB / 0.5985 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.4059, allocations: 214.6 kB / 0.5987 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4059, allocations: 0 / 0.5987 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.406, allocations: 4 kB / 0.5987 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.406, allocations: 0 / 0.5987 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.4063, allocations: 119.9 kB / 0.5989 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.407, allocations: 347.6 kB / 0.5992 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.4074, allocations: 138.5 kB / 0.5993 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.4076, allocations: 52.83 kB / 0.5994 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002208/0.4098, allocations: 0.6399 MB / 0.6 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/0.4102, allocations: 216.4 kB / 0.6002 GB, free: 12.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.4102, allocations: 0 / 0.6002 GB, free: 12.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007988/0.411, allocations: 233.5 kB / 0.6004 GB, free: 11.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.411, allocations: 55.41 kB / 0.6005 GB, free: 11.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.4111, allocations: 109.8 kB / 0.6006 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4111, allocations: 29.64 kB / 0.6006 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.4112, allocations: 99.81 kB / 0.6007 GB, free: 11.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.4112, allocations: 51.56 kB / 0.6007 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.4113, allocations: 33.7 kB / 0.6008 GB, free: 11.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4114, allocations: 322.8 kB / 0.6011 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4116, allocations: 43.97 kB / 0.6011 GB, free: 11.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.4117, allocations: 68.44 kB / 0.6012 GB, free: 10.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.412, allocations: 104.3 kB / 0.6013 GB, free: 10.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.412, allocations: 256 / 0.6013 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004117/0.4124, allocations: 161.5 kB / 0.6014 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4124, allocations: 8 kB / 0.6015 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.4124, allocations: 11.98 kB / 0.6015 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4124, allocations: 3.938 kB / 0.6015 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4126, allocations: 23.92 kB / 0.6015 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4126, allocations: 3.938 kB / 0.6015 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4127, allocations: 23.94 kB / 0.6015 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.4127, allocations: 4 kB / 0.6015 GB, free: 10.62 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.952e-05/0.4128, allocations: 117.8 kB / 0.6016 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.4129, allocations: 7.953 kB / 0.6016 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.4135, allocations: 373.2 kB / 0.602 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004521/0.4139, allocations: 301 kB / 0.6023 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4139, allocations: 0 / 0.6023 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.414, allocations: 0 / 0.6023 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.4151, allocations: 0.6806 MB / 0.603 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4151, allocations: 0 / 0.603 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.4152, allocations: 35.91 kB / 0.603 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4152, allocations: 0 / 0.603 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.4152, allocations: 8 kB / 0.603 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4152, allocations: 4 kB / 0.603 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4152, allocations: 3.938 kB / 0.603 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.416, allocations: 451.2 kB / 0.6034 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.416, allocations: 19.86 kB / 0.6035 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.416, allocations: 15.97 kB / 0.6035 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.4162, allocations: 28.05 kB / 0.6035 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.4163, allocations: 19.95 kB / 0.6035 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.4163, allocations: 8 kB / 0.6035 GB, free: 8.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.504e-05/0.4164, allocations: 87.27 kB / 0.6036 GB, free: 8.402 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4164, allocations: 0 / 0.6036 GB, free: 8.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002751/0.4191, allocations: 454.7 kB / 0.604 GB, free: 7.957 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01811/0.4372, allocations: 5.781 MB / 0.6097 GB, free: 2.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.4378, allocations: 193.4 kB / 0.6099 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4378, allocations: 4 kB / 0.6099 GB, free: 1.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.438, allocations: 99.88 kB / 0.61 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.4386, allocations: 81.73 kB / 0.61 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.443, allocations: 1.977 MB / 0.612 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.4431, allocations: 107.1 kB / 0.6121 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.4432, allocations: 44.88 kB / 0.6121 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.125e-05/0.4433, allocations: 55.41 kB / 0.6122 GB, free: 15.47 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4433, allocations: 0 / 0.6122 GB, free: 15.47 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/0.4973, allocations: 23.89 MB / 0.6355 GB, free: 7.715 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.33, allocations: 11.52 kB / 0.6355 GB, free: 7.707 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.862177696079016] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.517709120060317 12.540571418 12.135309367 Calling exit ...