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_TX.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.002004/0.002004, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001931/0.001931, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 8.027 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_TX,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",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.001945/0.001945, allocations: 68.55 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2455, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002446/0.2479, allocations: 1.385 MB / 433.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03077/0.2787, allocations: 23.81 MB / 457.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.2787, allocations: 4 kB / 457.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.2789, allocations: 11.92 kB / 457.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.015/0.2939, allocations: 6.031 MB / 463.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.2947, allocations: 366.7 kB / 463.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.2948, allocations: 79.62 kB / 463.6 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.2949, allocations: 4 kB / 463.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.2949, allocations: 35.84 kB / 463.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.295, allocations: 39.89 kB / 463.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.295, allocations: 0 / 463.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0171/0.3121, allocations: 9.05 MB / 472.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.3122, allocations: 15.92 kB / 472.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.3123, allocations: 27.92 kB / 472.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.323, allocations: 4.397 MB / 477.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.323, allocations: 0 / 477.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.323, allocations: 0 / 477.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.323, allocations: 0 / 477.2 MB, free: 9.527 MB / 382.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.002382/0.3254, allocations: 0.8758 MB / 478 MB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3254, allocations: 8.031 kB / 478 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.3255, allocations: 34.69 kB / 478.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.3255, allocations: 12.88 kB / 478.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3257, allocations: 149.8 kB / 478.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3257, allocations: 8 kB / 478.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.3257, allocations: 0 / 478.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3259, allocations: 71.39 kB / 478.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3259, allocations: 0 / 478.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3259, allocations: 0 / 478.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3259, allocations: 0 / 478.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.326, allocations: 43.84 kB / 478.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.3263, allocations: 161.6 kB / 478.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.3266, allocations: 93.11 kB / 478.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.3266, allocations: 29.77 kB / 478.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.3267, allocations: 8 kB / 478.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3267, allocations: 46.55 kB / 478.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3267, allocations: 0 / 478.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003165/0.3271, allocations: 97.55 kB / 478.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.3271, allocations: 81.11 kB / 478.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3273, allocations: 133.8 kB / 479 MB, free: 7.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3273, allocations: 29.7 kB / 479 MB, free: 7.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.3273, allocations: 80.14 kB / 479.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3274, allocations: 31.78 kB / 479.1 MB, free: 7.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3274, allocations: 17.72 kB / 479.1 MB, free: 7.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3276, allocations: 322.8 kB / 479.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.3276, allocations: 19.92 kB / 479.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.3277, allocations: 29.7 kB / 479.5 MB, free: 6.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3278, allocations: 54.06 kB / 479.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3278, allocations: 0 / 479.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001949/0.328, allocations: 85.59 kB / 479.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.328, allocations: 4 kB / 479.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.328, allocations: 3.938 kB / 479.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3281, allocations: 0 / 479.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.3281, allocations: 20.11 kB / 479.7 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3281, allocations: 0 / 479.7 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.3282, allocations: 3.953 kB / 479.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3282, allocations: 8 kB / 479.7 MB, free: 6.762 MB / 382.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 8.808e-05/0.3283, allocations: 117.8 kB / 479.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.3283, allocations: 3.938 kB / 479.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.3285, allocations: 101.6 kB / 479.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3285, allocations: 0 / 479.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3286, allocations: 0 / 479.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3286, allocations: 4.312 kB / 479.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3287, allocations: 160.5 kB / 480.1 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3287, allocations: 7.984 kB / 480.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.3288, allocations: 12 kB / 480.1 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3288, allocations: 3.938 kB / 480.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3288, allocations: 0 / 480.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3288, allocations: 4 kB / 480.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3288, allocations: 0 / 480.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.329, allocations: 109.9 kB / 480.2 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.3291, allocations: 15.94 kB / 480.2 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.3291, allocations: 0 / 480.2 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.3291, allocations: 15.92 kB / 480.2 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3292, allocations: 7.984 kB / 480.2 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3292, allocations: 0 / 480.2 MB, free: 6.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.498e-05/0.3293, allocations: 111.2 kB / 480.3 MB, free: 6.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3293, allocations: 4 kB / 480.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002422/0.3317, allocations: 0.9508 MB / 481.3 MB, free: 5.066 MB / 382.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.004937/0.3366, allocations: 1.887 MB / 483.2 MB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3369, allocations: 43.95 kB / 483.2 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3369, allocations: 4 kB / 483.2 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.337, allocations: 31.92 kB / 483.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3372, allocations: 15.98 kB / 483.3 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.3401, allocations: 1.797 MB / 485.1 MB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3404, allocations: 0.6849 MB / 485.8 MB, free: 452 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.3405, allocations: 15.97 kB / 485.8 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.3405, allocations: 15.44 kB / 485.8 MB, free: 420 kB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3405, allocations: 4 kB / 485.8 MB, free: 416 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06841/0.4089, allocations: 29.45 MB / 0.5032 GB, free: 3.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.296/9.705, allocations: 8 kB / 0.5032 GB, free: 3 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.287698139902204] Failed to read output from testmodel.py, exit status != 0: ['time', 'Th', 'Ts', 'h2', 's2'] 9.79707628628239 9.828295654 9.499676586 Calling exit ...