Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001833/0.001833, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002258/0.002258, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 44.91 MB / 359.6 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.88 kB / 0.4938 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 65.46 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01322/0.3366, allocations: 8.45 MB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.3501, allocations: 11.26 MB / 0.577 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.3502, allocations: 0 / 0.577 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3505, allocations: 43.78 kB / 0.5771 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005587/0.3561, allocations: 1.87 MB / 0.5789 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.156e-06/0.3561, allocations: 0 / 0.5789 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3562, allocations: 43.73 kB / 0.5789 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.3562, allocations: 11.92 kB / 0.5789 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3564, allocations: 27.86 kB / 0.579 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.3564, allocations: 15.88 kB / 0.579 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.3564, allocations: 0 / 0.579 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/0.3668, allocations: 6.756 MB / 0.5856 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.3668, allocations: 7.922 kB / 0.5856 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.3669, allocations: 15.94 kB / 0.5856 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.3791, allocations: 5.096 MB / 0.5906 GB, free: 6.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3791, allocations: 0 / 0.5906 GB, free: 6.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3791, allocations: 0 / 0.5906 GB, free: 6.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3791, allocations: 0 / 0.5906 GB, free: 6.102 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.003299/0.3824, allocations: 0.4997 MB / 0.5911 GB, free: 5.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3824, allocations: 8.031 kB / 0.5911 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.596e-05/0.3824, allocations: 4 kB / 0.5911 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.3825, allocations: 38.55 kB / 0.5911 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.3826, allocations: 11.95 kB / 0.5911 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.919e-05/0.3827, allocations: 117.2 kB / 0.5912 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3827, allocations: 0 / 0.5912 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.3827, allocations: 4 kB / 0.5912 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3829, allocations: 85.55 kB / 0.5913 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3829, allocations: 0 / 0.5913 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3829, allocations: 4 kB / 0.5913 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3829, allocations: 0 / 0.5913 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.383, allocations: 75.97 kB / 0.5914 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.3835, allocations: 295.8 kB / 0.5917 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.344e-05/0.3836, allocations: 42.5 kB / 0.5917 GB, free: 4.805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.3836, allocations: 32.91 kB / 0.5918 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002876/0.3865, allocations: 0.8114 MB / 0.5925 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3865, allocations: 30.56 kB / 0.5926 GB, free: 3.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.3865, allocations: 0 / 0.5926 GB, free: 3.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003029/0.3868, allocations: 109.7 kB / 0.5927 GB, free: 3.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3869, allocations: 51.41 kB / 0.5927 GB, free: 3.742 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.3869, allocations: 101.8 kB / 0.5928 GB, free: 3.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.387, allocations: 29.83 kB / 0.5929 GB, free: 3.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.387, allocations: 84.09 kB / 0.5929 GB, free: 3.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.387, allocations: 31.73 kB / 0.593 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.3871, allocations: 21.72 kB / 0.593 GB, free: 3.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3872, allocations: 314.8 kB / 0.5933 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.3873, allocations: 23.98 kB / 0.5933 GB, free: 3.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.3873, allocations: 37.7 kB / 0.5933 GB, free: 3.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.3874, allocations: 65.66 kB / 0.5934 GB, free: 3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3874, allocations: 0 / 0.5934 GB, free: 3 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.3876, allocations: 93.95 kB / 0.5935 GB, free: 2.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3876, allocations: 8 kB / 0.5935 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3876, allocations: 3.984 kB / 0.5935 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3876, allocations: 0 / 0.5935 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.3877, allocations: 11.94 kB / 0.5935 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3877, allocations: 0 / 0.5935 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.3877, allocations: 4 kB / 0.5935 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.3877, allocations: 11.97 kB / 0.5935 GB, free: 2.863 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.375e-05/0.3878, allocations: 117.7 kB / 0.5936 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3879, allocations: 3.953 kB / 0.5936 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.3881, allocations: 149.5 kB / 0.5938 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001516/0.3883, allocations: 124.9 kB / 0.5939 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3883, allocations: 3.984 kB / 0.5939 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3883, allocations: 0 / 0.5939 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.3888, allocations: 409.3 kB / 0.5943 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3888, allocations: 0 / 0.5943 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.3888, allocations: 16 kB / 0.5943 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3888, allocations: 3.938 kB / 0.5943 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3889, allocations: 4 kB / 0.5943 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3889, allocations: 0 / 0.5943 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3889, allocations: 0 / 0.5943 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.3891, allocations: 227.4 kB / 0.5945 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.3891, allocations: 11.94 kB / 0.5946 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.3891, allocations: 0 / 0.5946 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.3892, allocations: 4 kB / 0.5946 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3892, allocations: 8.234 kB / 0.5946 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3892, allocations: 4 kB / 0.5946 GB, free: 1.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.3893, allocations: 75.28 kB / 0.5946 GB, free: 1.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3893, allocations: 0 / 0.5946 GB, free: 1.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002232/0.3915, allocations: 370.8 kB / 0.595 GB, free: 1.281 MB / 430.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.01456/0.4061, allocations: 4.743 MB / 0.5996 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.4065, allocations: 109.5 kB / 0.5997 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4065, allocations: 0 / 0.5997 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.4066, allocations: 47.98 kB / 0.5998 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.4073, allocations: 38.2 kB / 0.5998 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.4105, allocations: 397.6 kB / 0.6002 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.4109, allocations: 0.6963 MB / 0.6009 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.592e-05/0.411, allocations: 20 kB / 0.6009 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.411, allocations: 27.42 kB / 0.6009 GB, free: 11.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.411, allocations: 3.938 kB / 0.6009 GB, free: 11.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/0.4613, allocations: 20.21 MB / 0.6207 GB, free: 7.004 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.6, allocations: 4.062 kB / 0.6207 GB, free: 7 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 65.655444730015] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.784656080999412 12.800520423 12.417762327 Calling exit ...