Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_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.001713/0.001713, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001949/0.001949, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 230.5 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002832/0.002832, allocations: 63.84 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.13, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002897/0.1329, allocations: 1.37 MB / 428.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2315/0.3644, allocations: 12.15 MB / 440.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.3645, allocations: 0 / 440.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.3645, allocations: 5.859 kB / 440.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004418/0.369, allocations: 1.051 MB / 441.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.3716, allocations: 0.6235 MB / 442.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.3717, allocations: 68.91 kB / 442.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.3718, allocations: 6.078 kB / 442.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.3719, allocations: 26.38 kB / 442.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.372, allocations: 36.12 kB / 442.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.372, allocations: 2.281 kB / 442.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005202/0.3772, allocations: 1.637 MB / 444 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.3772, allocations: 12.25 kB / 444 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.3773, allocations: 21.86 kB / 444 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.382, allocations: 1.074 MB / 445.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.382, allocations: 0.5 kB / 445.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.382, allocations: 0.5 kB / 445.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.382, allocations: 0 / 445.1 MB, free: 2.559 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001425/0.3835, allocations: 0.5564 MB / 445.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3835, allocations: 10.89 kB / 445.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.3835, allocations: 36.81 kB / 445.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3837, allocations: 12.92 kB / 445.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3838, allocations: 178.4 kB / 445.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3838, allocations: 1.562 kB / 445.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3839, allocations: 3.422 kB / 445.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.384, allocations: 72.45 kB / 446 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3841, allocations: 0.6094 kB / 446 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3841, allocations: 1.219 kB / 446 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3841, allocations: 3.938 kB / 446 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3842, allocations: 27.53 kB / 446 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.3844, allocations: 175.3 kB / 446.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.3847, allocations: 75.28 kB / 446.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.3847, allocations: 28.42 kB / 446.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007043/0.3918, allocations: 3.302 MB / 449.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3918, allocations: 36.3 kB / 449.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.396e-06/0.3918, allocations: 0.5156 kB / 449.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003966/0.3922, allocations: 81.98 kB / 449.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.3923, allocations: 78.05 kB / 449.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3924, allocations: 119.5 kB / 449.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3924, allocations: 26.64 kB / 449.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.3925, allocations: 86.06 kB / 450 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.3925, allocations: 24.28 kB / 450 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.3926, allocations: 20.77 kB / 450 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3927, allocations: 318.1 kB / 450.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.3928, allocations: 8.797 kB / 450.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.3929, allocations: 31.12 kB / 450.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.393, allocations: 42.58 kB / 450.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.393, allocations: 0 / 450.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002009/0.3932, allocations: 70.41 kB / 450.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3932, allocations: 10.45 kB / 450.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3932, allocations: 0 / 450.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3932, allocations: 1.062 kB / 450.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.3933, allocations: 17.14 kB / 450.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3933, allocations: 2.016 kB / 450.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.3934, allocations: 6.031 kB / 450.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3934, allocations: 3.375 kB / 450.5 MB, free: 14.11 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001085/0.3935, allocations: 108.6 kB / 450.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.3935, allocations: 10.8 kB / 450.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.3938, allocations: 109.1 kB / 450.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3938, allocations: 1.438 kB / 450.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3938, allocations: 2.109 kB / 450.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3938, allocations: 0 / 450.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.394, allocations: 169 kB / 450.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.394, allocations: 4.641 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.3941, allocations: 15.47 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3941, allocations: 1.156 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3941, allocations: 5.938 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.3941, allocations: 2.797 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3941, allocations: 1.219 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.3943, allocations: 103.9 kB / 451 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.3944, allocations: 92.39 kB / 451.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3944, allocations: 1.828 kB / 451.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.3945, allocations: 10.91 kB / 451.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.3946, allocations: 7 kB / 451.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3946, allocations: 2.781 kB / 451.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.3946, allocations: 91.64 kB / 451.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3946, allocations: 0 / 451.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001394/0.396, allocations: 329.8 kB / 451.6 MB, free: 13.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002606/0.3986, allocations: 1.126 MB / 452.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3989, allocations: 31.78 kB / 452.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3989, allocations: 0 / 452.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.3989, allocations: 27.86 kB / 452.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3992, allocations: 11.19 kB / 452.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.4018, allocations: 1.463 MB / 454.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.4022, allocations: 0.6862 MB / 454.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.4023, allocations: 51.67 kB / 455 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.4024, allocations: 23.81 kB / 455 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4024, allocations: 0 / 455 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04357/0.446, allocations: 10.55 MB / 465.5 MB, free: 6.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/9.12, allocations: 1.25 kB / 465.5 MB, free: 6.137 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.577988207805902] Failed to read output from testmodel.py, exit status != 0: ['time', 'Th', 'Ts', 'h2', 's2'] 9.194935590960085 9.209564817 8.82437318 Calling exit ...