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.001632/0.001632, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001997/0.001997, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2395/0.2395, allocations: 46.96 MB / 360.8 MB, free: 3.938 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.003234/0.003234, allocations: 87.86 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4305, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01981/0.4503, allocations: 8.341 MB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02369/0.474, allocations: 12.39 MB / 0.5809 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.4741, allocations: 7.875 kB / 0.5809 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.4744, allocations: 31.83 kB / 0.581 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.4865, allocations: 2.442 MB / 0.5834 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.4867, allocations: 19.92 kB / 0.5834 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.487, allocations: 131.2 kB / 0.5835 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.4871, allocations: 4 kB / 0.5835 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.4873, allocations: 59.81 kB / 0.5836 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.4875, allocations: 35.84 kB / 0.5836 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.4875, allocations: 4 kB / 0.5836 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02149/0.509, allocations: 7.138 MB / 0.5906 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.5091, allocations: 11.94 kB / 0.5906 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.5092, allocations: 43.84 kB / 0.5906 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02194/0.5311, allocations: 6.336 MB / 0.5968 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.5311, allocations: 3.938 kB / 0.5968 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5312, allocations: 0 / 0.5968 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.5312, allocations: 4 kB / 0.5968 GB, free: 14.93 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.00483/0.536, allocations: 0.6559 MB / 0.5975 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.536, allocations: 12.03 kB / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.5361, allocations: 38.55 kB / 0.5975 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.5364, allocations: 23.94 kB / 0.5975 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5365, allocations: 117.1 kB / 0.5976 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.5365, allocations: 4 kB / 0.5976 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.5365, allocations: 8 kB / 0.5977 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.537, allocations: 210.6 kB / 0.5979 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.537, allocations: 3.938 kB / 0.5979 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.537, allocations: 4 kB / 0.5979 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.537, allocations: 4 kB / 0.5979 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.5374, allocations: 111.9 kB / 0.598 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.5382, allocations: 355.6 kB / 0.5983 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.5387, allocations: 130.6 kB / 0.5984 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.5388, allocations: 44.83 kB / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002692/0.5415, allocations: 0.6477 MB / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/0.542, allocations: 224.2 kB / 0.5993 GB, free: 12.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.575e-06/0.5421, allocations: 0 / 0.5993 GB, free: 12.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009741/0.543, allocations: 227.9 kB / 0.5995 GB, free: 11.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.5431, allocations: 59.39 kB / 0.5996 GB, free: 11.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.5433, allocations: 105.8 kB / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.5433, allocations: 29.7 kB / 0.5997 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.5434, allocations: 103.8 kB / 0.5998 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/0.5435, allocations: 39.64 kB / 0.5999 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.5436, allocations: 37.7 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.5438, allocations: 322.8 kB / 0.6002 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.5439, allocations: 51.89 kB / 0.6003 GB, free: 11.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.5441, allocations: 64.44 kB / 0.6003 GB, free: 11.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.5444, allocations: 109.7 kB / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5444, allocations: 0 / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004501/0.5448, allocations: 156.1 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.5449, allocations: 11.98 kB / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5449, allocations: 3.938 kB / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5449, allocations: 256 / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.545, allocations: 27.98 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.545, allocations: 8 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.5452, allocations: 19.88 kB / 0.6006 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.5452, allocations: 7.938 kB / 0.6006 GB, free: 10.76 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 0.000124/0.5453, allocations: 117.8 kB / 0.6008 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.5454, allocations: 15.94 kB / 0.6008 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/0.5461, allocations: 361.3 kB / 0.6011 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005893/0.5467, allocations: 308.9 kB / 0.6014 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.5467, allocations: 0 / 0.6014 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5467, allocations: 0 / 0.6014 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.548, allocations: 0.6767 MB / 0.6021 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.548, allocations: 0 / 0.6021 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.5482, allocations: 31.98 kB / 0.6021 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.5482, allocations: 0 / 0.6021 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.5482, allocations: 7.984 kB / 0.6021 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5482, allocations: 3.938 kB / 0.6021 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5482, allocations: 4 kB / 0.6021 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008405/0.5491, allocations: 459.2 kB / 0.6026 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.5491, allocations: 19.81 kB / 0.6026 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.5491, allocations: 11.94 kB / 0.6026 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.5493, allocations: 23.97 kB / 0.6026 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.5494, allocations: 24.02 kB / 0.6026 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.5494, allocations: 12 kB / 0.6026 GB, free: 8.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.419e-05/0.5495, allocations: 79.28 kB / 0.6027 GB, free: 8.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5495, allocations: 0 / 0.6027 GB, free: 8.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003376/0.5529, allocations: 462.6 kB / 0.6032 GB, free: 8.094 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.02328/0.5762, allocations: 5.772 MB / 0.6088 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007344/0.5769, allocations: 197.5 kB / 0.609 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5769, allocations: 0 / 0.609 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.5772, allocations: 107.8 kB / 0.6091 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.5779, allocations: 81.72 kB / 0.6092 GB, free: 1.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/0.5851, allocations: 1.965 MB / 0.6111 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.5853, allocations: 107.1 kB / 0.6112 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.5855, allocations: 52.95 kB / 0.6112 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.5856, allocations: 47.42 kB / 0.6113 GB, free: 15.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5856, allocations: 0 / 0.6113 GB, free: 15.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07244/0.658, allocations: 24.17 MB / 0.6349 GB, free: 7.562 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.54, allocations: 2.812 kB / 0.6349 GB, free: 7.562 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.281619731336832] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.677448633126915 12.700937304 12.16602178 Calling exit ...