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.00128/0.00128, allocations: 121.6 kB / 18.5 MB, free: 4.578 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.001326/0.001326, allocations: 205 kB / 21.45 MB, free: 1.629 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.442/1.442, allocations: 230.5 MB / 254.8 MB, free: 15.28 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.001923/0.001923, allocations: 71.83 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.1013, allocations: 53.33 MB / 427 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002481/0.1038, allocations: 1.389 MB / 428.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2451/0.3489, allocations: 23.69 MB / 452.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.3489, allocations: 1.094 kB / 452.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3491, allocations: 5.484 kB / 452.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.3648, allocations: 6.003 MB / 458.1 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/0.3658, allocations: 354.7 kB / 458.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.366, allocations: 75.19 kB / 458.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.366, allocations: 7.25 kB / 458.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.3661, allocations: 34.86 kB / 458.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3662, allocations: 43.16 kB / 458.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.3662, allocations: 3.531 kB / 458.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01966/0.3859, allocations: 9.006 MB / 467.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.3859, allocations: 17.88 kB / 467.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.386, allocations: 32.23 kB / 467.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.4008, allocations: 4.394 MB / 472 MB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.4008, allocations: 5.125 kB / 472.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4008, allocations: 0 / 472.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.4008, allocations: 0 / 472.1 MB, free: 3.887 MB / 366.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.004072/0.4049, allocations: 0.9406 MB / 473 MB, free: 3.133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4049, allocations: 10 kB / 473 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.405, allocations: 40.62 kB / 473 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.405, allocations: 12.41 kB / 473.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.4052, allocations: 194.6 kB / 473.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4052, allocations: 1.781 kB / 473.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4052, allocations: 9.812 kB / 473.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.4053, allocations: 69.25 kB / 473.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4054, allocations: 1.812 kB / 473.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4054, allocations: 0 / 473.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4054, allocations: 1.781 kB / 473.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.4055, allocations: 34.02 kB / 473.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.4057, allocations: 195.3 kB / 473.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.406, allocations: 97.17 kB / 473.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.406, allocations: 31.47 kB / 473.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.4061, allocations: 8.031 kB / 473.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.4061, allocations: 37.41 kB / 473.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.4061, allocations: 0 / 473.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003006/0.4064, allocations: 100.9 kB / 473.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.4064, allocations: 82.5 kB / 473.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.4065, allocations: 142.3 kB / 474 MB, free: 2.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.4066, allocations: 25.7 kB / 474.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.4066, allocations: 93.66 kB / 474.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.4066, allocations: 22.64 kB / 474.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.4066, allocations: 22.27 kB / 474.2 MB, free: 1.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.4067, allocations: 320.2 kB / 474.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.4068, allocations: 15.2 kB / 474.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.4068, allocations: 36.92 kB / 474.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.4069, allocations: 52.59 kB / 474.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4069, allocations: 1.156 kB / 474.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001713/0.4071, allocations: 84.39 kB / 474.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4071, allocations: 5.656 kB / 474.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.4071, allocations: 0 / 474.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4071, allocations: 1.125 kB / 474.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.4072, allocations: 12.34 kB / 474.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4072, allocations: 0 / 474.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.4073, allocations: 10.22 kB / 474.7 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.4073, allocations: 2.094 kB / 474.7 MB, free: 1.539 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 6.262e-05/0.4073, allocations: 121 kB / 474.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.4073, allocations: 3.156 kB / 474.9 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.4076, allocations: 105 kB / 475 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4076, allocations: 1.375 kB / 475 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4076, allocations: 0 / 475 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4076, allocations: 1.5 kB / 475 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.4077, allocations: 176.2 kB / 475.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4077, allocations: 1.094 kB / 475.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.4078, allocations: 20.64 kB / 475.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4078, allocations: 1.469 kB / 475.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4078, allocations: 1.344 kB / 475.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4078, allocations: 0 / 475.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4078, allocations: 1.469 kB / 475.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.408, allocations: 110.9 kB / 475.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.408, allocations: 95.83 kB / 475.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.408, allocations: 1.344 kB / 475.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.4081, allocations: 6.547 kB / 475.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.4082, allocations: 7.406 kB / 475.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4082, allocations: 6.688 kB / 475.4 MB, free: 0.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.366e-05/0.4082, allocations: 116.4 kB / 475.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4082, allocations: 3.938 kB / 475.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004137/0.4124, allocations: 0.9548 MB / 476.4 MB, free: 0.5938 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.006424/0.4188, allocations: 1.884 MB / 478.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.4191, allocations: 53.05 kB / 478.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.4191, allocations: 4 kB / 478.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.4191, allocations: 24.27 kB / 478.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.4194, allocations: 15.31 kB / 478.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.4232, allocations: 1.797 MB / 480.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.4235, allocations: 0.6869 MB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.4236, allocations: 14.19 kB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.4237, allocations: 23.05 kB / 480.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4237, allocations: 0 / 480.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/0.4971, allocations: 29.45 MB / 0.4984 GB, free: 4.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.442/9.939, allocations: 3.938 kB / 0.4984 GB, free: 4.328 MB / 398.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.429928333964199] Failed to read output from testmodel.py, exit status != 0: ['time', 'Th', 'Ts', 'h2', 's2'] 10.039556722156703 10.053618659 9.649797899 Calling exit ...