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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001597/0.001597, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 227.7 MB / 247.2 MB, free: 10.19 MB / 206.1 MB 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.001937/0.001937, allocations: 63.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.271, allocations: 50.54 MB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002498/0.2735, allocations: 1.389 MB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03164/0.3052, allocations: 23.6 MB / 434 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.3053, allocations: 0 / 434 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.3055, allocations: 7.922 kB / 434 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.3211, allocations: 6.003 MB / 440.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.3219, allocations: 338.8 kB / 440.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.322, allocations: 71.7 kB / 440.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.3221, allocations: 7.984 kB / 440.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.3221, allocations: 27.92 kB / 440.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3222, allocations: 47.77 kB / 440.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3223, allocations: 0 / 440.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01682/0.3391, allocations: 8.886 MB / 449.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.3392, allocations: 11.98 kB / 449.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.3392, allocations: 27.86 kB / 449.5 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.3509, allocations: 4.401 MB / 453.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3509, allocations: 0 / 453.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3509, allocations: 0 / 453.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.351, allocations: 0 / 453.9 MB, free: 4.434 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.002676/0.3536, allocations: 0.9433 MB / 454.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.3537, allocations: 12.03 kB / 454.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3538, allocations: 34.75 kB / 454.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.3538, allocations: 8.891 kB / 454.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.354, allocations: 199.6 kB / 455.1 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3541, allocations: 4 kB / 455.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3541, allocations: 8 kB / 455.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3543, allocations: 71.33 kB / 455.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3543, allocations: 0 / 455.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.3543, allocations: 15.86 kB / 455.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3544, allocations: 0 / 455.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3545, allocations: 35.97 kB / 455.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.3548, allocations: 190.5 kB / 455.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.3551, allocations: 97.12 kB / 455.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/0.3552, allocations: 29.77 kB / 455.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.3552, allocations: 11.98 kB / 455.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3553, allocations: 38.56 kB / 455.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3553, allocations: 0 / 455.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003425/0.3556, allocations: 101.5 kB / 455.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.3557, allocations: 81.11 kB / 455.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3559, allocations: 133.8 kB / 455.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3559, allocations: 25.7 kB / 455.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.356, allocations: 96.12 kB / 456 MB, free: 2.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.356, allocations: 19.8 kB / 456 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.3561, allocations: 25.66 kB / 456 MB, free: 2.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3562, allocations: 318.8 kB / 456.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.3563, allocations: 19.98 kB / 456.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.3564, allocations: 25.7 kB / 456.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3565, allocations: 53.7 kB / 456.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3565, allocations: 0 / 456.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002074/0.3567, allocations: 81.61 kB / 456.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3568, allocations: 4 kB / 456.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3568, allocations: 480 / 456.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3568, allocations: 4 kB / 456.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.3569, allocations: 11.98 kB / 456.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3569, allocations: 0 / 456.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.3569, allocations: 3.953 kB / 456.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.357, allocations: 4 kB / 456.5 MB, free: 1.484 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.0001307/0.3571, allocations: 125.7 kB / 456.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.3572, allocations: 8.359 kB / 456.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3574, allocations: 93.55 kB / 456.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3575, allocations: 3.938 kB / 456.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3575, allocations: 0 / 456.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3575, allocations: 7.938 kB / 456.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.3577, allocations: 193.4 kB / 457 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3577, allocations: 0 / 457 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.3577, allocations: 16 kB / 457 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3577, allocations: 3.984 kB / 457 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3578, allocations: 4 kB / 457 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3578, allocations: 128 / 457 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3578, allocations: 4 kB / 457 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.358, allocations: 105.9 kB / 457.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.3581, allocations: 101 kB / 457.2 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.3581, allocations: 0 / 457.2 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.3582, allocations: 4 kB / 457.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3583, allocations: 11.98 kB / 457.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.3583, allocations: 0 / 457.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.3584, allocations: 115.2 kB / 457.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3584, allocations: 0 / 457.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002724/0.3611, allocations: 0.951 MB / 458.3 MB, free: 15.64 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.005222/0.3664, allocations: 1.904 MB / 460.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3667, allocations: 47.97 kB / 460.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3667, allocations: 7.938 kB / 460.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.3668, allocations: 23.92 kB / 460.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.367, allocations: 15.98 kB / 460.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.37, allocations: 1.804 MB / 462.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3704, allocations: 0.6885 MB / 462.8 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.3704, allocations: 11.98 kB / 462.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.3705, allocations: 23.44 kB / 462.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3705, allocations: 0 / 462.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06386/0.4344, allocations: 29.45 MB / 492.2 MB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/9.722, allocations: 14.81 kB / 492.3 MB, free: 13.58 MB / 414.1 MB (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.0004 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)