Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001811/0.001811, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001809/0.001809, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2246/0.2246, allocations: 46.96 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_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 0.4969 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 66.03 MB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01276/0.3357, allocations: 8.047 MB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3479, allocations: 9.883 MB / 0.5789 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.348, allocations: 3.938 kB / 0.5789 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3482, allocations: 31.81 kB / 0.5789 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.3531, allocations: 1.856 MB / 0.5807 GB, free: 344 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.443e-06/0.3531, allocations: 0 / 0.5807 GB, free: 344 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3533, allocations: 51.61 kB / 0.5808 GB, free: 292 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.3533, allocations: 7.938 kB / 0.5808 GB, free: 284 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.3534, allocations: 35.84 kB / 0.5808 GB, free: 248 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.3535, allocations: 15.92 kB / 0.5808 GB, free: 232 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3535, allocations: 0 / 0.5808 GB, free: 232 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/0.3644, allocations: 6.694 MB / 0.5873 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.3645, allocations: 0 / 0.5873 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.3645, allocations: 19.81 kB / 0.5874 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.3787, allocations: 5.096 MB / 0.5923 GB, free: 4.398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3787, allocations: 3.984 kB / 0.5923 GB, free: 4.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3787, allocations: 0 / 0.5923 GB, free: 4.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3787, allocations: 0 / 0.5923 GB, free: 4.395 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.002604/0.3813, allocations: 0.5036 MB / 0.5928 GB, free: 3.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3813, allocations: 8.031 kB / 0.5928 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.839e-05/0.3813, allocations: 4 kB / 0.5928 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.3814, allocations: 38.56 kB / 0.5929 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3815, allocations: 7.984 kB / 0.5929 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3816, allocations: 117.1 kB / 0.593 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3816, allocations: 4 kB / 0.593 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.3816, allocations: 0 / 0.593 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3818, allocations: 89.55 kB / 0.5931 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3818, allocations: 0 / 0.5931 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.3818, allocations: 0 / 0.5931 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3818, allocations: 0 / 0.5931 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3819, allocations: 79.95 kB / 0.5932 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.3823, allocations: 291.8 kB / 0.5934 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/0.3824, allocations: 42.58 kB / 0.5935 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.3825, allocations: 28.91 kB / 0.5935 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00287/0.3853, allocations: 0.8036 MB / 0.5943 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3854, allocations: 34.56 kB / 0.5943 GB, free: 2.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3854, allocations: 112 / 0.5943 GB, free: 2.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002883/0.3856, allocations: 113.7 kB / 0.5944 GB, free: 2.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3857, allocations: 55.39 kB / 0.5945 GB, free: 2.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.3858, allocations: 97.86 kB / 0.5946 GB, free: 1.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3858, allocations: 29.7 kB / 0.5946 GB, free: 1.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.3858, allocations: 88.03 kB / 0.5947 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3859, allocations: 35.72 kB / 0.5947 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3859, allocations: 21.72 kB / 0.5948 GB, free: 1.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.386, allocations: 322.8 kB / 0.5951 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.3861, allocations: 24 kB / 0.5951 GB, free: 1.395 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.3861, allocations: 41.7 kB / 0.5951 GB, free: 1.348 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3862, allocations: 66.02 kB / 0.5952 GB, free: 1.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3862, allocations: 0 / 0.5952 GB, free: 1.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.3864, allocations: 93.58 kB / 0.5953 GB, free: 1.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3864, allocations: 8 kB / 0.5953 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3864, allocations: 0 / 0.5953 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3864, allocations: 0 / 0.5953 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.3865, allocations: 15.94 kB / 0.5953 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3865, allocations: 0 / 0.5953 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.3865, allocations: 8.219 kB / 0.5953 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3865, allocations: 7.938 kB / 0.5953 GB, free: 1.141 MB / 430.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 (6): * Single equations (assignments): 5 * 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 8.218e-05/0.3866, allocations: 113.8 kB / 0.5954 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.3867, allocations: 11.94 kB / 0.5954 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.3869, allocations: 149.6 kB / 0.5956 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001459/0.3871, allocations: 113.7 kB / 0.5957 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3871, allocations: 0 / 0.5957 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3871, allocations: 0 / 0.5957 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.3876, allocations: 401.4 kB / 0.5961 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3876, allocations: 4 kB / 0.5961 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.3876, allocations: 19.88 kB / 0.5961 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3876, allocations: 3.938 kB / 0.5961 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3877, allocations: 7.984 kB / 0.5961 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3877, allocations: 0 / 0.5961 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3877, allocations: 0 / 0.5961 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.3879, allocations: 223.5 kB / 0.5963 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3879, allocations: 7.875 kB / 0.5963 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3879, allocations: 8 kB / 0.5963 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.388, allocations: 0 / 0.5963 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.388, allocations: 7.922 kB / 0.5963 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.388, allocations: 8 kB / 0.5963 GB, free: 0 / 430.1 MB Notification: Performance of sorting global known variables: time 5.936e-05/0.3881, allocations: 83.33 kB / 0.5964 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3881, allocations: 0 / 0.5964 GB, free: 15.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001996/0.3901, allocations: 362.8 kB / 0.5968 GB, free: 15.56 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.01444/0.4045, allocations: 4.755 MB / 0.6014 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.4049, allocations: 101.7 kB / 0.6015 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4049, allocations: 0 / 0.6015 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.4049, allocations: 51.98 kB / 0.6016 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.4054, allocations: 35.94 kB / 0.6016 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.4073, allocations: 410.2 kB / 0.602 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.428e-05/0.4074, allocations: 87.02 kB / 0.6021 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.89e-05/0.4074, allocations: 12.12 kB / 0.6021 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.4075, allocations: 31.42 kB / 0.6021 GB, free: 9.992 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4075, allocations: 0 / 0.6021 GB, free: 9.992 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/0.4531, allocations: 20.49 MB / 0.6221 GB, free: 5.629 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.8, allocations: 7.25 kB / 0.6221 GB, free: 5.625 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 65.8289177250117] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.994344422011636 13.01576304 12.633680391 Calling exit ...