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.001647/0.001647, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001986/0.001986, allocations: 215.5 kB / 20.75 MB, free: 2.324 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.545/1.545, allocations: 230.4 MB / 254 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.2489/0.2489, allocations: 46.92 MB / 357 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_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 83.81 kB / 0.491 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1318, allocations: 66.05 MB / 0.5555 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01329/0.1451, allocations: 8.756 MB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.1628, allocations: 14.1 MB / 0.5778 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.1629, allocations: 0 / 0.5778 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1631, allocations: 39.73 kB / 0.5778 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007247/0.1704, allocations: 2.446 MB / 0.5802 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.304e-05/0.1705, allocations: 15.97 kB / 0.5802 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1707, allocations: 131.3 kB / 0.5804 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.1707, allocations: 4 kB / 0.5804 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1709, allocations: 59.7 kB / 0.5804 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.171, allocations: 47.83 kB / 0.5805 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.171, allocations: 4 kB / 0.5805 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01442/0.1855, allocations: 7.322 MB / 0.5876 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.1855, allocations: 19.91 kB / 0.5876 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1857, allocations: 43.86 kB / 0.5877 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2844/0.47, allocations: 6.332 MB / 0.5939 GB, free: 9.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.47, allocations: 2.344 kB / 0.5939 GB, free: 9.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.47, allocations: 0 / 0.5939 GB, free: 9.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4701, allocations: 0 / 0.5939 GB, free: 9.73 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.00772/0.4778, allocations: 0.7284 MB / 0.5946 GB, free: 9.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.4778, allocations: 12.03 kB / 0.5946 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.4779, allocations: 42.44 kB / 0.5946 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.4781, allocations: 24.84 kB / 0.5947 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.4782, allocations: 171.6 kB / 0.5948 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.4783, allocations: 4.312 kB / 0.5948 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.4783, allocations: 13.98 kB / 0.5948 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.4788, allocations: 130.6 kB / 0.595 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4788, allocations: 2.188 kB / 0.595 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.4789, allocations: 4.031 kB / 0.595 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4789, allocations: 2.484 kB / 0.595 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.4794, allocations: 111.8 kB / 0.5951 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.4802, allocations: 0.6102 MB / 0.5957 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.4809, allocations: 130.5 kB / 0.5958 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.4811, allocations: 49.56 kB / 0.5958 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003656/0.4848, allocations: 1.977 MB / 0.5978 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/0.4853, allocations: 144.5 kB / 0.5979 GB, free: 6.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.985e-06/0.4853, allocations: 1.75 kB / 0.5979 GB, free: 6.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001247/0.4866, allocations: 226.1 kB / 0.5981 GB, free: 6.531 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4866, allocations: 61.61 kB / 0.5982 GB, free: 6.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.4867, allocations: 109.4 kB / 0.5983 GB, free: 6.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4867, allocations: 29.61 kB / 0.5983 GB, free: 6.336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.4867, allocations: 90.72 kB / 0.5984 GB, free: 6.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.4868, allocations: 54.39 kB / 0.5985 GB, free: 6.215 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.4869, allocations: 35.86 kB / 0.5985 GB, free: 6.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.487, allocations: 324.5 kB / 0.5988 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.4872, allocations: 46.06 kB / 0.5988 GB, free: 5.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.4874, allocations: 63.05 kB / 0.5989 GB, free: 5.867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.4878, allocations: 109.1 kB / 0.599 GB, free: 5.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4878, allocations: 0 / 0.599 GB, free: 5.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006512/0.4885, allocations: 156.8 kB / 0.5992 GB, free: 5.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4885, allocations: 5.031 kB / 0.5992 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4885, allocations: 1.406 kB / 0.5992 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4885, allocations: 1.438 kB / 0.5992 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.4887, allocations: 27.97 kB / 0.5992 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4887, allocations: 1.344 kB / 0.5992 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.4889, allocations: 21.27 kB / 0.5992 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.4889, allocations: 9.219 kB / 0.5992 GB, free: 5.809 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_check.phase,p,$PRE.p,state.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.718e-05/0.489, allocations: 122.3 kB / 0.5993 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4891, allocations: 6.562 kB / 0.5993 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.4899, allocations: 359.2 kB / 0.5997 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005845/0.4905, allocations: 290.1 kB / 0.6 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4905, allocations: 7.875 kB / 0.6 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.4905, allocations: 1.875 kB / 0.6 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.4919, allocations: 0.7038 MB / 0.6007 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4919, allocations: 2.375 kB / 0.6007 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.4921, allocations: 30.67 kB / 0.6007 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4922, allocations: 1.625 kB / 0.6007 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.4922, allocations: 7.656 kB / 0.6007 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4922, allocations: 1.391 kB / 0.6007 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4922, allocations: 1.344 kB / 0.6007 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4932, allocations: 456.9 kB / 0.6011 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.4933, allocations: 96.31 kB / 0.6012 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.4933, allocations: 5.578 kB / 0.6012 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.4936, allocations: 29.95 kB / 0.6013 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.4937, allocations: 18.92 kB / 0.6013 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.4937, allocations: 11.3 kB / 0.6013 GB, free: 5.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.209e-05/0.4938, allocations: 81.72 kB / 0.6014 GB, free: 4.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4938, allocations: 0 / 0.6014 GB, free: 4.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005199/0.499, allocations: 468.2 kB / 0.6018 GB, free: 4.859 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,p,state_check.phase,dT) * 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.02973/0.5287, allocations: 5.773 MB / 0.6075 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008817/0.5296, allocations: 190.4 kB / 0.6076 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.5296, allocations: 0.5312 kB / 0.6076 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.53, allocations: 104.9 kB / 0.6077 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009578/0.5309, allocations: 78.38 kB / 0.6078 GB, free: 1.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009001/0.5399, allocations: 1.973 MB / 0.6097 GB, free: 16.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.5404, allocations: 0.7201 MB / 0.6104 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.5407, allocations: 53.69 kB / 0.6105 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.5408, allocations: 49.72 kB / 0.6105 GB, free: 15.82 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5408, allocations: 0 / 0.6105 GB, free: 15.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0737/0.6145, allocations: 23.29 MB / 0.6333 GB, free: 7.785 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.226/9.841, allocations: 7.938 kB / 0.6333 GB, free: 7.777 MB / 462.1 MB " [Timeout remaining time 650] (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: 13.667576178908348] Failed to read output from testmodel.py, exit status != 0: ['time'] 9.943958521122113 9.967338248 9.492433946 Calling exit ...