Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001264/0.001264, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001421/0.001421, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2302/0.2302, allocations: 46.95 MB / 361.7 MB, free: 4.234 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_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 0.4969 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2927, allocations: 66.03 MB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01236/0.305, allocations: 8.491 MB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.3182, allocations: 11.28 MB / 0.5807 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.3183, allocations: 0 / 0.5807 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.3185, allocations: 43.72 kB / 0.5808 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005721/0.3242, allocations: 1.86 MB / 0.5826 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.256e-06/0.3243, allocations: 0 / 0.5826 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.3244, allocations: 55.61 kB / 0.5826 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.3244, allocations: 11.88 kB / 0.5826 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3246, allocations: 27.84 kB / 0.5827 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/0.3246, allocations: 15.94 kB / 0.5827 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.3246, allocations: 4 kB / 0.5827 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.3354, allocations: 6.748 MB / 0.5893 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.3355, allocations: 11.98 kB / 0.5893 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.3355, allocations: 15.88 kB / 0.5893 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.3484, allocations: 5.088 MB / 0.5943 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.3484, allocations: 8 kB / 0.5943 GB, free: 2.715 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3484, allocations: 0 / 0.5943 GB, free: 2.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3484, allocations: 4 kB / 0.5943 GB, free: 2.711 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.002936/0.3513, allocations: 0.5075 MB / 0.5948 GB, free: 2.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3514, allocations: 8.031 kB / 0.5948 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.83e-05/0.3514, allocations: 3.984 kB / 0.5948 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.3514, allocations: 38.56 kB / 0.5948 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.3515, allocations: 7.984 kB / 0.5948 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3517, allocations: 117.1 kB / 0.5949 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3517, allocations: 4 kB / 0.5949 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3517, allocations: 4 kB / 0.595 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3518, allocations: 77.61 kB / 0.595 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3518, allocations: 3.938 kB / 0.595 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3519, allocations: 4 kB / 0.595 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3519, allocations: 4 kB / 0.595 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.352, allocations: 75.97 kB / 0.5951 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.3524, allocations: 299.8 kB / 0.5954 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.3525, allocations: 38.56 kB / 0.5954 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.3526, allocations: 24.92 kB / 0.5955 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002832/0.3554, allocations: 0.8115 MB / 0.5962 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.3554, allocations: 34.56 kB / 0.5963 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3554, allocations: 0 / 0.5963 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002994/0.3557, allocations: 113.7 kB / 0.5964 GB, free: 416 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3558, allocations: 51.41 kB / 0.5964 GB, free: 352 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.3559, allocations: 97.86 kB / 0.5965 GB, free: 244 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3559, allocations: 25.7 kB / 0.5966 GB, free: 212 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.3559, allocations: 96.02 kB / 0.5966 GB, free: 112 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.356, allocations: 27.75 kB / 0.5967 GB, free: 84 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.356, allocations: 25.7 kB / 0.5967 GB, free: 52 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3562, allocations: 322.7 kB / 0.597 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.3562, allocations: 23.98 kB / 0.597 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.3563, allocations: 29.72 kB / 0.5971 GB, free: 15.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3564, allocations: 70.08 kB / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3564, allocations: 0 / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.3565, allocations: 97.52 kB / 0.5972 GB, free: 15.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3565, allocations: 4 kB / 0.5972 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3566, allocations: 0 / 0.5972 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3566, allocations: 0 / 0.5972 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.3566, allocations: 16.11 kB / 0.5972 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.3566, allocations: 4 kB / 0.5972 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.3567, allocations: 8 kB / 0.5972 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3567, allocations: 11.88 kB / 0.5973 GB, free: 15.45 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 (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 9.886e-05/0.3568, allocations: 109.9 kB / 0.5974 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.3568, allocations: 11.95 kB / 0.5974 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.3571, allocations: 153.3 kB / 0.5975 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001494/0.3572, allocations: 113.7 kB / 0.5976 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3572, allocations: 0 / 0.5976 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3573, allocations: 96 / 0.5976 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.3578, allocations: 417.3 kB / 0.598 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3578, allocations: 7.984 kB / 0.598 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.3578, allocations: 15.94 kB / 0.5981 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3578, allocations: 3.938 kB / 0.5981 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3578, allocations: 4 kB / 0.5981 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3578, allocations: 0 / 0.5981 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3578, allocations: 0 / 0.5981 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3581, allocations: 215.5 kB / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.3581, allocations: 15.86 kB / 0.5983 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3581, allocations: 8 kB / 0.5983 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.3582, allocations: 4 kB / 0.5983 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.3582, allocations: 7.922 kB / 0.5983 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3582, allocations: 4 kB / 0.5983 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.841e-05/0.3583, allocations: 83.28 kB / 0.5984 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3583, allocations: 0 / 0.5984 GB, free: 14.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002216/0.3605, allocations: 358.9 kB / 0.5987 GB, free: 13.87 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.01422/0.3747, allocations: 4.747 MB / 0.6034 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.375, allocations: 104.9 kB / 0.6035 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.375, allocations: 4 kB / 0.6035 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.3751, allocations: 43.92 kB / 0.6035 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.3755, allocations: 40.48 kB / 0.6035 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3773, allocations: 414.2 kB / 0.6039 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.3776, allocations: 0.7001 MB / 0.6046 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.3777, allocations: 19.67 kB / 0.6046 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.3777, allocations: 27.38 kB / 0.6047 GB, free: 7.672 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3777, allocations: 0 / 0.6047 GB, free: 7.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04657/0.4243, allocations: 20.3 MB / 0.6245 GB, free: 3.473 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.52, allocations: 9.625 kB / 0.6245 GB, free: 3.469 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 65.56151349202264] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.703842572984286 12.719210092 12.367601363 Calling exit ...