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_high_T.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.001264/0.001264, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001379/0.001379, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.406/1.406, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.2229/0.2229, allocations: 46.93 MB / 361.6 MB, free: 4.195 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_high_T,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",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.002274/0.002274, allocations: 83.86 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3335, allocations: 66.08 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.0121/0.3456, allocations: 8.491 MB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.3585, allocations: 11.27 MB / 0.5808 GB, free: 444 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.3586, allocations: 0 / 0.5808 GB, free: 444 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.3588, allocations: 39.78 kB / 0.5808 GB, free: 404 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.364, allocations: 1.864 MB / 0.5827 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.913e-06/0.364, allocations: 0 / 0.5827 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3641, allocations: 55.61 kB / 0.5827 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.3642, allocations: 3.938 kB / 0.5827 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3643, allocations: 27.86 kB / 0.5827 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.3643, allocations: 19.92 kB / 0.5828 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-06/0.3644, allocations: 4 kB / 0.5828 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/0.375, allocations: 6.752 MB / 0.5894 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.375, allocations: 4 kB / 0.5894 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.3751, allocations: 23.81 kB / 0.5894 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.3875, allocations: 5.088 MB / 0.5944 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3875, allocations: 0 / 0.5944 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3875, allocations: 0 / 0.5944 GB, free: 2.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3875, allocations: 0 / 0.5944 GB, free: 2.527 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.002759/0.3903, allocations: 0.5153 MB / 0.5949 GB, free: 1.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3903, allocations: 11.97 kB / 0.5949 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.3904, allocations: 38.56 kB / 0.5949 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.3905, allocations: 7.984 kB / 0.5949 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3906, allocations: 109.2 kB / 0.595 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3906, allocations: 4 kB / 0.595 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3906, allocations: 4 kB / 0.595 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3908, allocations: 77.61 kB / 0.5951 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3908, allocations: 0 / 0.5951 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3908, allocations: 8 kB / 0.5951 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3908, allocations: 7.984 kB / 0.5951 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3909, allocations: 79.91 kB / 0.5952 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.3914, allocations: 295.8 kB / 0.5955 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.792e-05/0.3914, allocations: 38.56 kB / 0.5955 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.3915, allocations: 24.92 kB / 0.5955 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002823/0.3943, allocations: 0.8037 MB / 0.5963 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3943, allocations: 42.53 kB / 0.5964 GB, free: 344 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3944, allocations: 0 / 0.5964 GB, free: 344 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002996/0.3947, allocations: 109.7 kB / 0.5965 GB, free: 228 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.3947, allocations: 59.34 kB / 0.5965 GB, free: 156 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.3948, allocations: 93.86 kB / 0.5966 GB, free: 52 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3948, allocations: 29.7 kB / 0.5966 GB, free: 16 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.3949, allocations: 92.02 kB / 0.5967 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3949, allocations: 27.75 kB / 0.5968 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.395, allocations: 25.7 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3951, allocations: 314.8 kB / 0.5971 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.406e-05/0.3951, allocations: 27.98 kB / 0.5971 GB, free: 15.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.3952, allocations: 33.72 kB / 0.5971 GB, free: 15.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.847e-05/0.3953, allocations: 69.64 kB / 0.5972 GB, free: 15.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3953, allocations: 0 / 0.5972 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.3955, allocations: 93.58 kB / 0.5973 GB, free: 15.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3955, allocations: 4.375 kB / 0.5973 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3955, allocations: 3.984 kB / 0.5973 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3955, allocations: 0 / 0.5973 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/0.3956, allocations: 16.02 kB / 0.5973 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3956, allocations: 7.938 kB / 0.5973 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.3956, allocations: 4 kB / 0.5973 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3956, allocations: 4 kB / 0.5973 GB, free: 15.27 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.755e-05/0.3957, allocations: 113.7 kB / 0.5974 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.3957, allocations: 7.953 kB / 0.5975 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.396, allocations: 149.7 kB / 0.5976 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001601/0.3962, allocations: 117.2 kB / 0.5977 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3962, allocations: 4 kB / 0.5977 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3962, allocations: 0 / 0.5977 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.3967, allocations: 413.5 kB / 0.5981 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3967, allocations: 3.984 kB / 0.5981 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.3967, allocations: 16 kB / 0.5981 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3967, allocations: 3.938 kB / 0.5981 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3968, allocations: 4 kB / 0.5981 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3968, allocations: 0 / 0.5981 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3968, allocations: 0 / 0.5981 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.397, allocations: 227.6 kB / 0.5983 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.397, allocations: 12.02 kB / 0.5984 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.397, allocations: 11.88 kB / 0.5984 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.3971, allocations: 4 kB / 0.5984 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.3971, allocations: 3.984 kB / 0.5984 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3971, allocations: 4 kB / 0.5984 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.132e-05/0.3972, allocations: 87.45 kB / 0.5985 GB, free: 14.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3972, allocations: 4 kB / 0.5985 GB, free: 14.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001945/0.3991, allocations: 358.9 kB / 0.5988 GB, free: 13.68 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.01357/0.4127, allocations: 4.743 MB / 0.6034 GB, free: 8.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.413, allocations: 105.7 kB / 0.6035 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.413, allocations: 0 / 0.6035 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.165e-05/0.413, allocations: 47.92 kB / 0.6036 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4134, allocations: 40.08 kB / 0.6036 GB, free: 8.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.4151, allocations: 410.2 kB / 0.604 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.4155, allocations: 0.6924 MB / 0.6047 GB, free: 7.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.4155, allocations: 19.95 kB / 0.6047 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.4156, allocations: 27.44 kB / 0.6047 GB, free: 7.492 MB / 446.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4156, allocations: 3.938 kB / 0.6047 GB, free: 7.488 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/0.4647, allocations: 20.15 MB / 0.6244 GB, free: 3.379 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.303, allocations: 17.3 kB / 0.6244 GB, free: 3.371 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.102841270156205] Failed to read output from testmodel.py, exit status != 0: 9.400595060084015 9.417317903 9.026412783 Calling exit ...