Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001875/0.001875, allocations: 106.3 kB / 21.1 MB, free: 0.7734 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.002184/0.002184, allocations: 225 kB / 24.39 MB, free: 4.184 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.511/1.511, allocations: 230.4 MB / 257.9 MB, free: 8.035 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.94 MB / 361.3 MB, free: 4.199 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_setState_phX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX",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.002376/0.002376, allocations: 75.88 kB / 0.4966 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3544, allocations: 66.09 MB / 0.5611 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01265/0.367, allocations: 8.428 MB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.3829, allocations: 12.96 MB / 0.582 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.383, allocations: 0 / 0.582 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.3832, allocations: 43.78 kB / 0.582 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007376/0.3906, allocations: 2.167 MB / 0.5842 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.396e-06/0.3906, allocations: 0 / 0.5842 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3907, allocations: 51.67 kB / 0.5842 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.3908, allocations: 0 / 0.5842 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.391, allocations: 39.84 kB / 0.5842 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.391, allocations: 11.94 kB / 0.5843 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.391, allocations: 0 / 0.5843 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/0.4029, allocations: 6.008 MB / 0.5901 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.4029, allocations: 3.938 kB / 0.5901 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.403, allocations: 19.88 kB / 0.5901 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4168, allocations: 4.795 MB / 0.5948 GB, free: 1.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4168, allocations: 3.938 kB / 0.5948 GB, free: 1.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4168, allocations: 3.938 kB / 0.5948 GB, free: 1.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.4168, allocations: 4 kB / 0.5948 GB, free: 1.645 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.003695/0.4205, allocations: 0.558 MB / 0.5954 GB, free: 1.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4206, allocations: 12.03 kB / 0.5954 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.4206, allocations: 34.56 kB / 0.5954 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.4208, allocations: 7.984 kB / 0.5954 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.4209, allocations: 113.2 kB / 0.5955 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.4209, allocations: 4 kB / 0.5955 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4209, allocations: 0 / 0.5955 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.4212, allocations: 125.5 kB / 0.5957 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4213, allocations: 3.938 kB / 0.5957 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4213, allocations: 0 / 0.5957 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4213, allocations: 4 kB / 0.5957 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.4216, allocations: 123.9 kB / 0.5958 GB, free: 0.5938 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.4223, allocations: 375.2 kB / 0.5961 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.4225, allocations: 70.47 kB / 0.5962 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4226, allocations: 32.84 kB / 0.5962 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.4256, allocations: 0.8624 MB / 0.5971 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4257, allocations: 34.56 kB / 0.5971 GB, free: 15.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4257, allocations: 4 kB / 0.5971 GB, free: 15.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006161/0.4263, allocations: 141.6 kB / 0.5973 GB, free: 15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4263, allocations: 55.41 kB / 0.5973 GB, free: 14.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.4264, allocations: 93.86 kB / 0.5974 GB, free: 14.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4264, allocations: 25.7 kB / 0.5974 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.4265, allocations: 99.97 kB / 0.5975 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.4265, allocations: 23.8 kB / 0.5975 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.4266, allocations: 33.64 kB / 0.5976 GB, free: 14.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4267, allocations: 314.8 kB / 0.5979 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.4268, allocations: 27.97 kB / 0.5979 GB, free: 14.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.427, allocations: 37.7 kB / 0.5979 GB, free: 14.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.4272, allocations: 77.67 kB / 0.598 GB, free: 14.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4272, allocations: 0 / 0.598 GB, free: 14.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002813/0.4274, allocations: 97.59 kB / 0.5981 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4275, allocations: 4 kB / 0.5981 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4275, allocations: 0 / 0.5981 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4275, allocations: 4 kB / 0.5981 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4276, allocations: 19.98 kB / 0.5981 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4276, allocations: 4.031 kB / 0.5981 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.4276, allocations: 11.89 kB / 0.5981 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4277, allocations: 4.188 kB / 0.5982 GB, free: 14.02 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001087/0.4278, allocations: 125.7 kB / 0.5983 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.4278, allocations: 0 / 0.5983 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.4283, allocations: 261.4 kB / 0.5985 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4283, allocations: 0 / 0.5985 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4283, allocations: 4 kB / 0.5985 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4283, allocations: 0 / 0.5985 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.4286, allocations: 208.5 kB / 0.5987 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4286, allocations: 0 / 0.5987 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.4286, allocations: 27.92 kB / 0.5988 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4286, allocations: 0 / 0.5988 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4287, allocations: 8 kB / 0.5988 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4287, allocations: 0 / 0.5988 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4287, allocations: 0 / 0.5988 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.429, allocations: 257.7 kB / 0.599 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.4291, allocations: 11.89 kB / 0.599 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4291, allocations: 0 / 0.599 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.4291, allocations: 15.98 kB / 0.599 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.4292, allocations: 11.92 kB / 0.599 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.4292, allocations: 4 kB / 0.599 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.294e-05/0.4293, allocations: 83.22 kB / 0.5991 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4293, allocations: 0 / 0.5991 GB, free: 12.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002279/0.4315, allocations: 378.9 kB / 0.5995 GB, free: 12.59 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.01213/0.4437, allocations: 4.244 MB / 0.6036 GB, free: 8.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.444, allocations: 99.88 kB / 0.6037 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.444, allocations: 0 / 0.6037 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.4442, allocations: 59.92 kB / 0.6038 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4445, allocations: 15.98 kB / 0.6038 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.4461, allocations: 462.8 kB / 0.6042 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.4465, allocations: 0.6924 MB / 0.6049 GB, free: 6.922 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.4466, allocations: 57.83 kB / 0.605 GB, free: 6.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.4467, allocations: 31.42 kB / 0.605 GB, free: 6.836 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4467, allocations: 0 / 0.605 GB, free: 6.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05066/0.4973, allocations: 18.3 MB / 0.6229 GB, free: 4.602 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.1, allocations: 4 kB / 0.6229 GB, free: 4.598 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.101278705056757] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 12.229306339053437 12.255743459 11.833778394 Calling exit ...