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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2146/0.2146, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB 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.002245/0.002245, allocations: 79.88 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3112, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0118/0.323, allocations: 8.407 MB / 0.5388 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.3355, allocations: 11.14 MB / 0.5497 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.3356, allocations: 1.125 kB / 0.5497 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.3359, allocations: 35.58 kB / 0.5497 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.341, allocations: 1.794 MB / 0.5515 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.111e-06/0.341, allocations: 0 / 0.5515 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3411, allocations: 47.67 kB / 0.5515 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.3412, allocations: 19.86 kB / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3413, allocations: 27.86 kB / 0.5516 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.3414, allocations: 19.92 kB / 0.5516 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.3414, allocations: 0 / 0.5516 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.3529, allocations: 6.651 MB / 0.5581 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.3529, allocations: 7.938 kB / 0.5581 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.353, allocations: 19.92 kB / 0.5581 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.3666, allocations: 4.631 MB / 0.5626 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.3667, allocations: 4 kB / 0.5626 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3667, allocations: 0 / 0.5626 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3667, allocations: 0 / 0.5626 GB, free: 0.8477 MB / 414.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.002518/0.3692, allocations: 0.5867 MB / 0.5632 GB, free: 216 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3693, allocations: 8.031 kB / 0.5632 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.3693, allocations: 38.56 kB / 0.5632 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.3695, allocations: 7.984 kB / 0.5632 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3696, allocations: 167 kB / 0.5634 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3696, allocations: 4 kB / 0.5634 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3697, allocations: 8 kB / 0.5634 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3698, allocations: 81.55 kB / 0.5635 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3698, allocations: 0 / 0.5635 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3699, allocations: 4 kB / 0.5635 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3699, allocations: 0 / 0.5635 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.37, allocations: 83.89 kB / 0.5636 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.3704, allocations: 316.7 kB / 0.5639 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.3705, allocations: 46.56 kB / 0.5639 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.3706, allocations: 40.91 kB / 0.564 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003234/0.3738, allocations: 1.842 MB / 0.5658 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3739, allocations: 38.5 kB / 0.5658 GB, free: 13.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3739, allocations: 0 / 0.5658 GB, free: 13.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002748/0.3742, allocations: 109.7 kB / 0.5659 GB, free: 13.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3742, allocations: 51.41 kB / 0.566 GB, free: 12.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.3743, allocations: 105.8 kB / 0.5661 GB, free: 12.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3743, allocations: 25.7 kB / 0.5661 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.3744, allocations: 88.09 kB / 0.5662 GB, free: 12.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3744, allocations: 31.73 kB / 0.5662 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.3745, allocations: 25.66 kB / 0.5662 GB, free: 12.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3746, allocations: 326.8 kB / 0.5665 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.3746, allocations: 16.06 kB / 0.5665 GB, free: 12.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.3747, allocations: 37.7 kB / 0.5666 GB, free: 12.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.3748, allocations: 61.72 kB / 0.5666 GB, free: 12.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3748, allocations: 0 / 0.5666 GB, free: 12.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.375, allocations: 105.6 kB / 0.5667 GB, free: 12.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.375, allocations: 4 kB / 0.5667 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.375, allocations: 0 / 0.5667 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.375, allocations: 7.938 kB / 0.5667 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.3751, allocations: 8 kB / 0.5668 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3751, allocations: 0 / 0.5668 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.3751, allocations: 384 / 0.5668 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.3752, allocations: 4 kB / 0.5668 GB, free: 12.1 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 9.777e-05/0.3753, allocations: 117.8 kB / 0.5669 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3753, allocations: 11.97 kB / 0.5669 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.3756, allocations: 153.4 kB / 0.567 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000153/0.3757, allocations: 120.9 kB / 0.5671 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3758, allocations: 0 / 0.5671 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3758, allocations: 0 / 0.5671 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3763, allocations: 434.2 kB / 0.5676 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3763, allocations: 0 / 0.5676 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.3763, allocations: 20.11 kB / 0.5676 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3763, allocations: 7.938 kB / 0.5676 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3764, allocations: 11.94 kB / 0.5676 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3764, allocations: 0 / 0.5676 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3764, allocations: 0 / 0.5676 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.3766, allocations: 219.5 kB / 0.5678 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.3767, allocations: 81.06 kB / 0.5679 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3767, allocations: 7.938 kB / 0.5679 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.3768, allocations: 3.984 kB / 0.5679 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.3768, allocations: 11.94 kB / 0.5679 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3768, allocations: 8 kB / 0.5679 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.198e-05/0.3769, allocations: 75.28 kB / 0.568 GB, free: 10.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3769, allocations: 0 / 0.568 GB, free: 10.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001877/0.3787, allocations: 362.9 kB / 0.5683 GB, free: 10.38 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.01234/0.3911, allocations: 4.373 MB / 0.5726 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.3914, allocations: 109.7 kB / 0.5727 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3914, allocations: 0 / 0.5727 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.3915, allocations: 64.05 kB / 0.5728 GB, free: 5.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.3921, allocations: 47.88 kB / 0.5728 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3937, allocations: 401.5 kB / 0.5732 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.394, allocations: 0.7 MB / 0.5739 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.394, allocations: 19.88 kB / 0.5739 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.3941, allocations: 31.42 kB / 0.5739 GB, free: 4.535 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3941, allocations: 0 / 0.5739 GB, free: 4.535 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.4411, allocations: 19.95 MB / 0.5934 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.878/9.319, allocations: 11.73 kB / 0.5934 GB, free: 0.668 MB / 446.1 MB (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.0004 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)