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.001332/0.001332, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001376/0.001376, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.418/1.418, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2275/0.2275, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.002269/0.002269, allocations: 87.78 kB / 0.4917 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1265, allocations: 66.03 MB / 0.5562 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01236/0.1389, allocations: 8.455 MB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.1522, allocations: 11.22 MB / 0.5754 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.1523, allocations: 0 / 0.5754 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.1525, allocations: 43.78 kB / 0.5754 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.1579, allocations: 1.843 MB / 0.5772 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.404e-06/0.1579, allocations: 0 / 0.5772 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.158, allocations: 55.61 kB / 0.5773 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1581, allocations: 4 kB / 0.5773 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1582, allocations: 39.78 kB / 0.5773 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.1582, allocations: 15.94 kB / 0.5773 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.1582, allocations: 0 / 0.5773 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.1685, allocations: 6.721 MB / 0.5839 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.1686, allocations: 0 / 0.5839 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.1686, allocations: 15.88 kB / 0.5839 GB, free: 9.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.1806, allocations: 5.103 MB / 0.5889 GB, free: 3.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1806, allocations: 4 kB / 0.5889 GB, free: 3.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1806, allocations: 0 / 0.5889 GB, free: 3.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1807, allocations: 0 / 0.5889 GB, free: 3.957 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.003202/0.1839, allocations: 0.5789 MB / 0.5894 GB, free: 3.328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1839, allocations: 8.031 kB / 0.5895 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.1839, allocations: 38.56 kB / 0.5895 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1841, allocations: 7.984 kB / 0.5895 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1842, allocations: 167 kB / 0.5897 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1842, allocations: 8 kB / 0.5897 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1842, allocations: 8 kB / 0.5897 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1844, allocations: 81.61 kB / 0.5897 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1844, allocations: 0 / 0.5897 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1844, allocations: 4 kB / 0.5898 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1844, allocations: 4 kB / 0.5898 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1845, allocations: 75.95 kB / 0.5898 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.185, allocations: 316.7 kB / 0.5901 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.185, allocations: 42.52 kB / 0.5902 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.1851, allocations: 32.84 kB / 0.5902 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003418/0.1885, allocations: 1.842 MB / 0.592 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1885, allocations: 38.56 kB / 0.592 GB, free: 292 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1885, allocations: 0 / 0.592 GB, free: 292 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003068/0.1888, allocations: 109.7 kB / 0.5921 GB, free: 176 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1889, allocations: 51.41 kB / 0.5922 GB, free: 112 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.189, allocations: 101.8 kB / 0.5923 GB, free: 0 / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2402/0.4291, allocations: 25.7 kB / 0.5923 GB, free: 33.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.4292, allocations: 86.41 kB / 0.5924 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.4292, allocations: 29.38 kB / 0.5924 GB, free: 33.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.4293, allocations: 23.69 kB / 0.5924 GB, free: 33.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.4293, allocations: 323.7 kB / 0.5928 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.4294, allocations: 20.67 kB / 0.5928 GB, free: 32.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/0.4294, allocations: 35.55 kB / 0.5928 GB, free: 32.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.464e-05/0.4295, allocations: 64.83 kB / 0.5929 GB, free: 32.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4295, allocations: 0 / 0.5929 GB, free: 32.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.4297, allocations: 99.28 kB / 0.593 GB, free: 32.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4297, allocations: 5.125 kB / 0.593 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4297, allocations: 3.812 kB / 0.593 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4297, allocations: 5.688 kB / 0.593 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.4298, allocations: 10.75 kB / 0.593 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4298, allocations: 3.281 kB / 0.593 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.4298, allocations: 2.188 kB / 0.593 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4298, allocations: 6.375 kB / 0.593 GB, free: 32.86 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 5.252e-05/0.4299, allocations: 112.4 kB / 0.5931 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.4299, allocations: 10.73 kB / 0.5931 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.4302, allocations: 156.5 kB / 0.5933 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001223/0.4303, allocations: 117.3 kB / 0.5934 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4303, allocations: 0 / 0.5934 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4303, allocations: 0 / 0.5934 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.4307, allocations: 431.4 kB / 0.5938 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4307, allocations: 2.906 kB / 0.5938 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.4308, allocations: 18.2 kB / 0.5938 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4308, allocations: 2.938 kB / 0.5938 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4308, allocations: 2.875 kB / 0.5938 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4308, allocations: 1.469 kB / 0.5938 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4308, allocations: 0 / 0.5938 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.4309, allocations: 230 kB / 0.594 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.431, allocations: 86.17 kB / 0.5941 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.431, allocations: 4.422 kB / 0.5941 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.431, allocations: 3.281 kB / 0.5941 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.431, allocations: 12.81 kB / 0.5941 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4311, allocations: 6.5 kB / 0.5941 GB, free: 32.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.818e-05/0.4311, allocations: 76.41 kB / 0.5942 GB, free: 32.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4311, allocations: 4.359 kB / 0.5942 GB, free: 32.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002145/0.4332, allocations: 361.5 kB / 0.5946 GB, free: 32.05 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.01289/0.4461, allocations: 4.743 MB / 0.5992 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.4464, allocations: 103.4 kB / 0.5993 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4464, allocations: 0.8125 kB / 0.5993 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.4464, allocations: 44.39 kB / 0.5993 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.4469, allocations: 43.89 kB / 0.5994 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.4487, allocations: 410.7 kB / 0.5998 GB, free: 29.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.4488, allocations: 0.6932 MB / 0.6004 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.4489, allocations: 22.59 kB / 0.6005 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.4489, allocations: 26.11 kB / 0.6005 GB, free: 28.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4489, allocations: 1.719 kB / 0.6005 GB, free: 28.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/0.5032, allocations: 20.06 MB / 0.6201 GB, free: 22.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.042/9.545, allocations: 15.55 kB / 0.6201 GB, free: 22.21 MB / 446.1 MB " [Timeout remaining time 650] (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.439269138965756] Failed to read output from testmodel.py, exit status != 0: 9.64008408319205 9.649029828 9.466278195 Calling exit ...