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.001845/0.001845, allocations: 109 kB / 21.23 MB, free: 0.5117 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.00237/0.00237, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.00212/0.00212, allocations: 68.77 kB / 378.5 MB, free: 3.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2705, allocations: 53.36 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002556/0.273, allocations: 1.379 MB / 433.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.2873, allocations: 12.21 MB / 445.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.2873, allocations: 4 kB / 445.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.2874, allocations: 0 / 445.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.2906, allocations: 1.06 MB / 446.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.2924, allocations: 0.6346 MB / 447.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.2925, allocations: 63.7 kB / 447.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.2925, allocations: 8 kB / 447.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.2926, allocations: 27.92 kB / 447.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2927, allocations: 35.89 kB / 447.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2927, allocations: 4 kB / 447.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.2959, allocations: 1.643 MB / 449 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.2959, allocations: 15.92 kB / 449 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.296, allocations: 19.92 kB / 449 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.2979, allocations: 1.079 MB / 450.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2979, allocations: 0 / 450.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2979, allocations: 0 / 450.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.298, allocations: 8 kB / 450.1 MB, free: 4.668 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.0008015/0.2988, allocations: 484.2 kB / 450.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2988, allocations: 12.03 kB / 450.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.2988, allocations: 34.73 kB / 450.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.299, allocations: 12.89 kB / 450.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2991, allocations: 114.5 kB / 450.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2991, allocations: 8.359 kB / 450.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2992, allocations: 4.375 kB / 450.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.2993, allocations: 71.27 kB / 450.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2993, allocations: 3.938 kB / 450.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2993, allocations: 4 kB / 450.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2994, allocations: 0 / 450.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.2995, allocations: 23.98 kB / 450.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.2997, allocations: 153.5 kB / 451 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3001, allocations: 81.22 kB / 451.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3002, allocations: 25.77 kB / 451.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005719/0.3059, allocations: 1.505 MB / 452.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.3059, allocations: 34.56 kB / 452.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3059, allocations: 0 / 452.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003389/0.3063, allocations: 77.61 kB / 452.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.3063, allocations: 81.09 kB / 452.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3065, allocations: 117.8 kB / 452.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3065, allocations: 29.7 kB / 452.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.3065, allocations: 84.08 kB / 453 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.3066, allocations: 27.73 kB / 453.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3066, allocations: 21.7 kB / 453.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3068, allocations: 310.8 kB / 453.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.3068, allocations: 15.98 kB / 453.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.3069, allocations: 25.7 kB / 453.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.307, allocations: 42.06 kB / 453.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.307, allocations: 4 kB / 453.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001796/0.3072, allocations: 73.52 kB / 453.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3072, allocations: 7.984 kB / 453.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3072, allocations: 0 / 453.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.3073, allocations: 0 / 453.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.3073, allocations: 15.94 kB / 453.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3073, allocations: 4 kB / 453.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.3074, allocations: 0 / 453.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3074, allocations: 7.984 kB / 453.6 MB, free: 0.957 MB / 350.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 9.996e-05/0.3075, allocations: 117.8 kB / 453.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.3075, allocations: 7.891 kB / 453.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.3079, allocations: 105.9 kB / 453.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3079, allocations: 0 / 453.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3079, allocations: 0 / 453.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3079, allocations: 4 kB / 453.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.308, allocations: 132.7 kB / 453.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.308, allocations: 3.938 kB / 453.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.3081, allocations: 15.98 kB / 454 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3081, allocations: 4 kB / 454 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3081, allocations: 0 / 454 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3081, allocations: 0 / 454 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3081, allocations: 7.938 kB / 454 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.3083, allocations: 106 kB / 454.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.3083, allocations: 11.88 kB / 454.1 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3083, allocations: 3.984 kB / 454.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.3084, allocations: 4 kB / 454.1 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3085, allocations: 15.98 kB / 454.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3085, allocations: 0 / 454.1 MB, free: 356 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.3085, allocations: 99.25 kB / 454.2 MB, free: 256 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3085, allocations: 0 / 454.2 MB, free: 256 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008585/0.3094, allocations: 323 kB / 454.5 MB, free: 15.93 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.001691/0.3111, allocations: 1.127 MB / 455.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.3113, allocations: 35.91 kB / 455.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.3113, allocations: 7.938 kB / 455.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.3114, allocations: 16 kB / 455.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.3115, allocations: 20.11 kB / 455.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.3134, allocations: 1.449 MB / 457.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3138, allocations: 0.6962 MB / 457.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3139, allocations: 44.16 kB / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.314, allocations: 31.36 kB / 457.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.314, allocations: 0 / 457.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.3516, allocations: 10.54 MB / 468.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/8.884, allocations: 14.34 kB / 468.5 MB, free: 1.879 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.42698533879593] Failed to read output from testmodel.py, exit status != 0: ['time', 'Th', 'Ts', 'h2', 's2'] 8.960258758161217 8.978747588 8.677008405 Calling exit ...