Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 105.1 kB / 21.21 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 212.6 kB / 24.51 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 46.95 MB / 361.7 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3452, allocations: 66.03 MB / 0.5613 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01255/0.3577, allocations: 8.054 MB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.3724, allocations: 11.45 MB / 0.5804 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.3724, allocations: 0 / 0.5804 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.3727, allocations: 31.77 kB / 0.5804 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006451/0.3791, allocations: 2.147 MB / 0.5825 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.153e-06/0.3791, allocations: 0 / 0.5825 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3792, allocations: 55.61 kB / 0.5826 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.3793, allocations: 3.984 kB / 0.5826 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.3794, allocations: 35.84 kB / 0.5826 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.065e-05/0.3795, allocations: 19.88 kB / 0.5826 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.3795, allocations: 0 / 0.5826 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.3899, allocations: 6.008 MB / 0.5885 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.3899, allocations: 0 / 0.5885 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.39, allocations: 19.88 kB / 0.5885 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.4032, allocations: 4.799 MB / 0.5932 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.4032, allocations: 0 / 0.5932 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4032, allocations: 0 / 0.5932 GB, free: 3.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4032, allocations: 0 / 0.5932 GB, free: 3.516 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.003003/0.4062, allocations: 0.5581 MB / 0.5937 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4062, allocations: 15.97 kB / 0.5938 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.488e-05/0.4063, allocations: 0 / 0.5938 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.4063, allocations: 38.55 kB / 0.5938 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.4064, allocations: 8 kB / 0.5938 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.4065, allocations: 113.1 kB / 0.5939 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.4065, allocations: 8 kB / 0.5939 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4066, allocations: 4 kB / 0.5939 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.4069, allocations: 117.6 kB / 0.594 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4069, allocations: 8 kB / 0.594 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4069, allocations: 0 / 0.594 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4069, allocations: 0 / 0.594 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.4073, allocations: 127.9 kB / 0.5942 GB, free: 2.453 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.0005885/0.4079, allocations: 319.6 kB / 0.5945 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.4082, allocations: 70.53 kB / 0.5945 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.4083, allocations: 32.84 kB / 0.5946 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003163/0.4114, allocations: 0.8662 MB / 0.5954 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.4115, allocations: 30.56 kB / 0.5954 GB, free: 1.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4115, allocations: 0 / 0.5954 GB, free: 1.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006553/0.4121, allocations: 149.5 kB / 0.5956 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4122, allocations: 51.41 kB / 0.5956 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.4123, allocations: 101.8 kB / 0.5957 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4123, allocations: 33.7 kB / 0.5958 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.4123, allocations: 95.98 kB / 0.5959 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.4124, allocations: 27.77 kB / 0.5959 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.4124, allocations: 29.7 kB / 0.5959 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4126, allocations: 314.8 kB / 0.5962 GB, free: 244 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.4127, allocations: 24.09 kB / 0.5962 GB, free: 220 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4128, allocations: 49.62 kB / 0.5963 GB, free: 164 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.413, allocations: 65.64 kB / 0.5963 GB, free: 92 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.413, allocations: 3.984 kB / 0.5963 GB, free: 88 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003126/0.4133, allocations: 93.72 kB / 0.5964 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4133, allocations: 4 kB / 0.5964 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4133, allocations: 4 kB / 0.5964 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4133, allocations: 3.938 kB / 0.5964 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4134, allocations: 19.94 kB / 0.5965 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4135, allocations: 7.984 kB / 0.5965 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.4135, allocations: 11.92 kB / 0.5965 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.4135, allocations: 7.938 kB / 0.5965 GB, free: 15.93 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 8.884e-05/0.4136, allocations: 113.8 kB / 0.5966 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.4137, allocations: 0 / 0.5966 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/0.4142, allocations: 257.4 kB / 0.5968 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.4142, allocations: 8 kB / 0.5969 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4142, allocations: 0 / 0.5969 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4142, allocations: 0 / 0.5969 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.4144, allocations: 200.5 kB / 0.597 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.4144, allocations: 0 / 0.597 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/0.4145, allocations: 19.98 kB / 0.5971 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4145, allocations: 0 / 0.5971 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4146, allocations: 4 kB / 0.5971 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4146, allocations: 3.984 kB / 0.5971 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4146, allocations: 4 kB / 0.5971 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.415, allocations: 265.9 kB / 0.5973 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.415, allocations: 15.89 kB / 0.5973 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.415, allocations: 3.938 kB / 0.5974 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.4151, allocations: 8 kB / 0.5974 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.4151, allocations: 15.97 kB / 0.5974 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4152, allocations: 0 / 0.5974 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.385e-05/0.4152, allocations: 83.22 kB / 0.5975 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4152, allocations: 0 / 0.5975 GB, free: 14.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002196/0.4174, allocations: 382.9 kB / 0.5978 GB, free: 14.5 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.01282/0.4302, allocations: 4.24 MB / 0.602 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.4306, allocations: 92.5 kB / 0.602 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4306, allocations: 0 / 0.602 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.4308, allocations: 67.86 kB / 0.6021 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.4311, allocations: 24.34 kB / 0.6021 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.4329, allocations: 467.3 kB / 0.6026 GB, free: 9.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.04e-05/0.433, allocations: 79.08 kB / 0.6027 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.4331, allocations: 47.67 kB / 0.6027 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.4332, allocations: 31.42 kB / 0.6027 GB, free: 9.379 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4332, allocations: 0 / 0.6027 GB, free: 9.379 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/0.4785, allocations: 18.42 MB / 0.6207 GB, free: 7.055 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.44, allocations: 10.86 kB / 0.6207 GB, free: 7.051 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.41937640402466] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 12.615237378980964 12.629656335 12.223272821 Calling exit ...