Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 221.4 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 230.2 MB / 256.2 MB, free: 8.742 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1945/0.1945, allocations: 46.88 MB / 359.3 MB, free: 4.98 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 83.86 kB / 0.494 GB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2556, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01063/0.2662, allocations: 8.479 MB / 0.5667 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.2774, allocations: 11.22 MB / 0.5776 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.2774, allocations: 4 kB / 0.5776 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.2776, allocations: 39.8 kB / 0.5777 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.2813, allocations: 1.829 MB / 0.5795 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.2813, allocations: 0 / 0.5795 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.443e-05/0.2814, allocations: 47.67 kB / 0.5795 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.28e-05/0.2814, allocations: 4 kB / 0.5795 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2815, allocations: 39.67 kB / 0.5795 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.415e-05/0.2816, allocations: 19.88 kB / 0.5796 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-06/0.2816, allocations: 0 / 0.5796 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008228/0.2898, allocations: 6.69 MB / 0.5861 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.2898, allocations: 0 / 0.5861 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.2898, allocations: 23.81 kB / 0.5861 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009002/0.2988, allocations: 4.631 MB / 0.5906 GB, free: 4.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2989, allocations: 0 / 0.5906 GB, free: 4.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2989, allocations: 4 kB / 0.5906 GB, free: 4.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.2989, allocations: 0 / 0.5906 GB, free: 4.078 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.002048/0.3009, allocations: 0.5789 MB / 0.5912 GB, free: 3.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3009, allocations: 8.031 kB / 0.5912 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.301, allocations: 42.55 kB / 0.5913 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.3011, allocations: 7.938 kB / 0.5913 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3012, allocations: 175 kB / 0.5914 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3012, allocations: 3.984 kB / 0.5914 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3012, allocations: 8 kB / 0.5914 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3014, allocations: 77.62 kB / 0.5915 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3014, allocations: 3.984 kB / 0.5915 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3014, allocations: 4 kB / 0.5915 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3014, allocations: 0 / 0.5915 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3015, allocations: 75.91 kB / 0.5916 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.3019, allocations: 320.7 kB / 0.5919 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.561e-05/0.3019, allocations: 34.56 kB / 0.5919 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.302, allocations: 28.92 kB / 0.592 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003094/0.3051, allocations: 1.846 MB / 0.5938 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3051, allocations: 38.5 kB / 0.5938 GB, free: 416 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3051, allocations: 96 / 0.5938 GB, free: 416 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000259/0.3054, allocations: 109.6 kB / 0.5939 GB, free: 300 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3054, allocations: 51.41 kB / 0.594 GB, free: 236 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.3055, allocations: 97.86 kB / 0.5941 GB, free: 128 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3055, allocations: 25.7 kB / 0.5941 GB, free: 96 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.3056, allocations: 96.2 kB / 0.5942 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3056, allocations: 31.73 kB / 0.5942 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.3056, allocations: 21.7 kB / 0.5942 GB, free: 15.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3058, allocations: 326.6 kB / 0.5945 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.3058, allocations: 19.98 kB / 0.5946 GB, free: 15.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.776e-05/0.3058, allocations: 33.7 kB / 0.5946 GB, free: 15.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.3059, allocations: 61.72 kB / 0.5946 GB, free: 15.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3059, allocations: 0 / 0.5946 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.3061, allocations: 93.58 kB / 0.5947 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3061, allocations: 12.34 kB / 0.5947 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3061, allocations: 0 / 0.5947 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3061, allocations: 4 kB / 0.5947 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.3062, allocations: 16.17 kB / 0.5948 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3062, allocations: 7.938 kB / 0.5948 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.3062, allocations: 0 / 0.5948 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3062, allocations: 7.938 kB / 0.5948 GB, free: 15.34 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 8.075e-05/0.3063, allocations: 113.8 kB / 0.5949 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.3063, allocations: 4.141 kB / 0.5949 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.3066, allocations: 157.5 kB / 0.595 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001425/0.3067, allocations: 117 kB / 0.5952 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3067, allocations: 96 / 0.5952 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3067, allocations: 7.922 kB / 0.5952 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.3072, allocations: 434.2 kB / 0.5956 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3072, allocations: 0 / 0.5956 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.3073, allocations: 15.94 kB / 0.5956 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3073, allocations: 3.938 kB / 0.5956 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3073, allocations: 8 kB / 0.5956 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3073, allocations: 0 / 0.5956 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3073, allocations: 7.969 kB / 0.5956 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.3075, allocations: 219.5 kB / 0.5958 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3075, allocations: 89 kB / 0.5959 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3076, allocations: 4 kB / 0.5959 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.3076, allocations: 3.938 kB / 0.5959 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.3076, allocations: 7.984 kB / 0.5959 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3076, allocations: 8 kB / 0.5959 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.864e-05/0.3077, allocations: 79.28 kB / 0.596 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3077, allocations: 0 / 0.596 GB, free: 13.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001614/0.3093, allocations: 355 kB / 0.5963 GB, free: 13.63 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.01117/0.3205, allocations: 4.372 MB / 0.6006 GB, free: 9.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.3207, allocations: 109.9 kB / 0.6007 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3207, allocations: 0 / 0.6007 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/0.3207, allocations: 51.92 kB / 0.6008 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3211, allocations: 31.97 kB / 0.6008 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3223, allocations: 405.5 kB / 0.6012 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3226, allocations: 0.6885 MB / 0.6019 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.3227, allocations: 19.86 kB / 0.6019 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.3227, allocations: 31.44 kB / 0.6019 GB, free: 7.824 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3227, allocations: 0 / 0.6019 GB, free: 7.824 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.3656, allocations: 19.97 MB / 0.6214 GB, free: 3.891 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.203, allocations: 64 / 0.6214 GB, free: 3.891 MB / 462.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.73246485699201]