Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001277/0.001277, 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.001384/0.001384, allocations: 208.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.454/1.454, 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.2268/0.2268, allocations: 46.93 MB / 361.3 MB, free: 4.219 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_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",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.002255/0.002255, allocations: 79.88 kB / 0.4966 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3476, allocations: 66.08 MB / 0.5611 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01262/0.3602, allocations: 8.751 MB / 0.5697 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.3779, allocations: 14.01 MB / 0.5833 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.378, allocations: 4 kB / 0.5833 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.3783, allocations: 39.8 kB / 0.5834 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008264/0.3866, allocations: 2.455 MB / 0.5858 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.3867, allocations: 15.92 kB / 0.5858 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.3869, allocations: 131.2 kB / 0.5859 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.387, allocations: 4 kB / 0.5859 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3872, allocations: 59.78 kB / 0.586 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.3873, allocations: 47.77 kB / 0.586 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3873, allocations: 7.938 kB / 0.586 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01316/0.4004, allocations: 7.263 MB / 0.5931 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.4005, allocations: 19.91 kB / 0.5931 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.4006, allocations: 47.8 kB / 0.5932 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01851/0.4191, allocations: 6.332 MB / 0.5994 GB, free: 13.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4191, allocations: 4 kB / 0.5994 GB, free: 13.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4191, allocations: 0 / 0.5994 GB, free: 13.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4192, allocations: 0 / 0.5994 GB, free: 13.01 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.004044/0.4232, allocations: 0.6675 MB / 0.6 GB, free: 12.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4232, allocations: 12.03 kB / 0.6 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.4233, allocations: 34.56 kB / 0.6001 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.4235, allocations: 27.92 kB / 0.6001 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.4236, allocations: 113.1 kB / 0.6002 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.4236, allocations: 4 kB / 0.6002 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.4237, allocations: 12 kB / 0.6002 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.4241, allocations: 206.7 kB / 0.6004 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4241, allocations: 0 / 0.6004 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.4241, allocations: 7.984 kB / 0.6004 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.4241, allocations: 4 kB / 0.6004 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.4244, allocations: 107.9 kB / 0.6005 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.4252, allocations: 0.5927 MB / 0.6011 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.4256, allocations: 126.6 kB / 0.6012 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.4257, allocations: 44.83 kB / 0.6013 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002095/0.4278, allocations: 0.6515 MB / 0.6019 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.4282, allocations: 216.4 kB / 0.6021 GB, free: 9.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.4282, allocations: 0 / 0.6021 GB, free: 9.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007755/0.429, allocations: 229.5 kB / 0.6023 GB, free: 9.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.4291, allocations: 55.39 kB / 0.6024 GB, free: 9.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.4292, allocations: 109.7 kB / 0.6025 GB, free: 9.547 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.4292, allocations: 29.7 kB / 0.6025 GB, free: 9.512 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.4292, allocations: 103.8 kB / 0.6026 GB, free: 9.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.4293, allocations: 39.64 kB / 0.6027 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.4294, allocations: 45.7 kB / 0.6027 GB, free: 9.316 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4295, allocations: 314.8 kB / 0.603 GB, free: 9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.4296, allocations: 47.95 kB / 0.6031 GB, free: 8.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.4298, allocations: 65.62 kB / 0.6031 GB, free: 8.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.43, allocations: 104.5 kB / 0.6032 GB, free: 8.777 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.43, allocations: 0 / 0.6032 GB, free: 8.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003791/0.4304, allocations: 157.5 kB / 0.6034 GB, free: 8.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.4305, allocations: 10.19 kB / 0.6034 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.4305, allocations: 3.984 kB / 0.6034 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4305, allocations: 3.938 kB / 0.6034 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4306, allocations: 27.92 kB / 0.6034 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.4306, allocations: 4 kB / 0.6034 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4307, allocations: 23.88 kB / 0.6034 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.4307, allocations: 4.25 kB / 0.6034 GB, free: 8.543 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.000105/0.4308, allocations: 121.5 kB / 0.6036 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.4309, allocations: 7.953 kB / 0.6036 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/0.4315, allocations: 373.2 kB / 0.6039 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004508/0.432, allocations: 301.6 kB / 0.6042 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.432, allocations: 4 kB / 0.6042 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.432, allocations: 0 / 0.6042 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.4331, allocations: 0.6845 MB / 0.6049 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4331, allocations: 0 / 0.6049 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.4333, allocations: 31.92 kB / 0.6049 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4333, allocations: 3.984 kB / 0.6049 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.4333, allocations: 11.94 kB / 0.6049 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4333, allocations: 0 / 0.6049 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4333, allocations: 0 / 0.6049 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.434, allocations: 455.2 kB / 0.6054 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.4341, allocations: 23.84 kB / 0.6054 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.4341, allocations: 8 kB / 0.6054 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.4343, allocations: 28.03 kB / 0.6054 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.4343, allocations: 19.95 kB / 0.6054 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4344, allocations: 8 kB / 0.6054 GB, free: 6.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.4344, allocations: 79.28 kB / 0.6055 GB, free: 6.328 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4344, allocations: 0 / 0.6055 GB, free: 6.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003074/0.4375, allocations: 462.7 kB / 0.606 GB, free: 5.875 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.01858/0.4561, allocations: 5.78 MB / 0.6116 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.4567, allocations: 197.5 kB / 0.6118 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4567, allocations: 0 / 0.6118 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.4569, allocations: 111.8 kB / 0.6119 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.4575, allocations: 82.23 kB / 0.612 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004783/0.4623, allocations: 1.968 MB / 0.6139 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.4627, allocations: 0.7212 MB / 0.6146 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.4628, allocations: 48.88 kB / 0.6147 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.4629, allocations: 47.42 kB / 0.6147 GB, free: 12.77 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4629, allocations: 0 / 0.6147 GB, free: 12.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06833/0.5313, allocations: 23.6 MB / 0.6377 GB, free: 5.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.52, allocations: 19.42 kB / 0.6378 GB, free: 5.234 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.318377023097128] Failed to read output from testmodel.py, exit status != 0: 12.651057630078867 12.666737872 12.244244145 Calling exit ...