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.001734/0.001734, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002102/0.002102, allocations: 217.4 kB / 21.46 MB, free: 1.602 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.468/1.468, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2314/0.2314, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.001901/0.001901, allocations: 63.91 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1246, allocations: 66 MB / 0.5561 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01215/0.1368, allocations: 8.443 MB / 0.5643 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.15, allocations: 11.22 MB / 0.5753 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.15, allocations: 4 kB / 0.5753 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1502, allocations: 39.8 kB / 0.5753 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.1548, allocations: 1.836 MB / 0.5771 GB, free: 196 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.961e-06/0.1548, allocations: 0 / 0.5771 GB, free: 196 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1549, allocations: 59.55 kB / 0.5772 GB, free: 136 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.155, allocations: 0 / 0.5772 GB, free: 136 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1551, allocations: 35.84 kB / 0.5772 GB, free: 100 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.45e-05/0.1551, allocations: 11.94 kB / 0.5772 GB, free: 88 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.1552, allocations: 0 / 0.5772 GB, free: 88 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0097/0.1649, allocations: 6.725 MB / 0.5838 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.1649, allocations: 3.984 kB / 0.5838 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.1649, allocations: 23.77 kB / 0.5838 GB, free: 9.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.1759, allocations: 5.096 MB / 0.5888 GB, free: 4.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1759, allocations: 0 / 0.5888 GB, free: 4.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1759, allocations: 0 / 0.5888 GB, free: 4.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.176, allocations: 0 / 0.5888 GB, free: 4.219 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002835/0.1788, allocations: 0.5789 MB / 0.5893 GB, free: 3.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1788, allocations: 8.031 kB / 0.5893 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.14e-05/0.1788, allocations: 15.94 kB / 0.5894 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.1789, allocations: 34.56 kB / 0.5894 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.179, allocations: 19.92 kB / 0.5894 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.1791, allocations: 167 kB / 0.5896 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1791, allocations: 0 / 0.5896 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1791, allocations: 4 kB / 0.5896 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1793, allocations: 81.61 kB / 0.5897 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1793, allocations: 3.984 kB / 0.5897 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1793, allocations: 0 / 0.5897 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1793, allocations: 4 kB / 0.5897 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1795, allocations: 79.89 kB / 0.5897 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.1799, allocations: 320.7 kB / 0.59 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.538e-05/0.18, allocations: 34.58 kB / 0.5901 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.1801, allocations: 28.91 kB / 0.5901 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003472/0.1836, allocations: 1.846 MB / 0.5919 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1836, allocations: 30.56 kB / 0.5919 GB, free: 0.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1836, allocations: 96 / 0.5919 GB, free: 0.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002875/0.1839, allocations: 113.6 kB / 0.592 GB, free: 436 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1839, allocations: 55.41 kB / 0.5921 GB, free: 368 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.184, allocations: 93.86 kB / 0.5922 GB, free: 264 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.184, allocations: 29.7 kB / 0.5922 GB, free: 228 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1841, allocations: 95.97 kB / 0.5923 GB, free: 128 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.1841, allocations: 27.73 kB / 0.5923 GB, free: 100 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.1841, allocations: 21.72 kB / 0.5924 GB, free: 72 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2267/0.4108, allocations: 322.2 kB / 0.5927 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.757e-05/0.4109, allocations: 14.78 kB / 0.5927 GB, free: 33.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.411, allocations: 38.67 kB / 0.5927 GB, free: 33.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.82e-05/0.4111, allocations: 62.39 kB / 0.5928 GB, free: 33.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4111, allocations: 0 / 0.5928 GB, free: 33.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002165/0.4113, allocations: 98.28 kB / 0.5929 GB, free: 33.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4113, allocations: 7.156 kB / 0.5929 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4113, allocations: 3.891 kB / 0.5929 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.4114, allocations: 4.688 kB / 0.5929 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.4115, allocations: 9.297 kB / 0.5929 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4115, allocations: 7.312 kB / 0.5929 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.4115, allocations: 4.422 kB / 0.5929 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4115, allocations: 3.188 kB / 0.5929 GB, free: 33.16 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 6.811e-05/0.4116, allocations: 114.8 kB / 0.593 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.4116, allocations: 5.719 kB / 0.593 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.4119, allocations: 155.4 kB / 0.5932 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001261/0.412, allocations: 117.8 kB / 0.5933 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.412, allocations: 6 kB / 0.5933 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.412, allocations: 1.078 kB / 0.5933 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.4124, allocations: 436.3 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4124, allocations: 3.719 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.4125, allocations: 12.88 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4125, allocations: 0.7812 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.4125, allocations: 5.156 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4125, allocations: 7.375 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4125, allocations: 0.8438 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.4127, allocations: 221.9 kB / 0.5939 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.4127, allocations: 90.27 kB / 0.594 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4127, allocations: 0 / 0.594 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.52e-05/0.4128, allocations: 3.25 kB / 0.594 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.4128, allocations: 8.922 kB / 0.594 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.4128, allocations: 6.844 kB / 0.594 GB, free: 32.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.069e-05/0.4128, allocations: 82.03 kB / 0.5941 GB, free: 32.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4128, allocations: 0 / 0.5941 GB, free: 32.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002348/0.4152, allocations: 368.1 kB / 0.5945 GB, free: 32.36 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.01348/0.4287, allocations: 4.743 MB / 0.5991 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.429, allocations: 107.8 kB / 0.5992 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.429, allocations: 0.9062 kB / 0.5992 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.429, allocations: 46.16 kB / 0.5993 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.4295, allocations: 39.59 kB / 0.5993 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.4314, allocations: 414 kB / 0.5997 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.4315, allocations: 0.6922 MB / 0.6004 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.4316, allocations: 20.52 kB / 0.6004 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.4317, allocations: 27.22 kB / 0.6004 GB, free: 28.86 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4317, allocations: 1.25 kB / 0.6004 GB, free: 28.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.4798, allocations: 20.12 MB / 0.6201 GB, free: 22.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.256/9.735, allocations: 13.02 kB / 0.6201 GB, free: 22.48 MB / 446.1 MB " [Timeout remaining time 650] (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: 62.820908845053054] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 9.885617901978549 9.895873291 9.717834051 Calling exit ...