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) 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 114.9 kB / 17.84 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 205.2 kB / 18.79 MB, free: 4.141 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.421/1.421, allocations: 230.4 MB / 250 MB, free: 9.133 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.002322/0.002322, allocations: 64.08 kB / 366.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3106, allocations: 53.31 MB / 420.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002654/0.3133, allocations: 1.374 MB / 421.5 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.3277, allocations: 12.15 MB / 433.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.3278, allocations: 4 kB / 433.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.3278, allocations: 7.922 kB / 433.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.3313, allocations: 1.037 MB / 434.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.3333, allocations: 0.6334 MB / 435.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.3334, allocations: 63.61 kB / 435.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.3335, allocations: 7.984 kB / 435.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.3335, allocations: 27.91 kB / 435.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3336, allocations: 35.89 kB / 435.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3336, allocations: 4 kB / 435.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.3368, allocations: 1.631 MB / 437.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.3368, allocations: 15.92 kB / 437.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.3369, allocations: 27.84 kB / 437.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.3389, allocations: 1.068 MB / 438.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3389, allocations: 4 kB / 438.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3389, allocations: 0 / 438.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3389, allocations: 0 / 438.2 MB, free: 6.137 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.0008118/0.3397, allocations: 0.5551 MB / 438.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3397, allocations: 12.03 kB / 438.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.3398, allocations: 34.75 kB / 438.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.3399, allocations: 16.88 kB / 438.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.3401, allocations: 176.4 kB / 439 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3401, allocations: 384 / 439 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.3401, allocations: 8.375 kB / 439 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3403, allocations: 71.27 kB / 439.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3403, allocations: 0 / 439.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3403, allocations: 0 / 439.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3403, allocations: 0 / 439.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3404, allocations: 19.98 kB / 439.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.3406, allocations: 186.4 kB / 439.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.3409, allocations: 77.22 kB / 439.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.341, allocations: 25.77 kB / 439.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006354/0.3474, allocations: 3.309 MB / 442.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.3474, allocations: 34.56 kB / 442.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.3474, allocations: 0 / 442.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003319/0.3477, allocations: 85.92 kB / 442.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.3478, allocations: 81.09 kB / 442.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3479, allocations: 125.8 kB / 443 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3479, allocations: 25.7 kB / 443.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.348, allocations: 80.14 kB / 443.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.348, allocations: 23.8 kB / 443.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.348, allocations: 21.7 kB / 443.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3482, allocations: 314.8 kB / 443.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.3482, allocations: 15.98 kB / 443.5 MB, free: 176 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.265e-05/0.3483, allocations: 25.7 kB / 443.5 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3484, allocations: 37.7 kB / 443.6 MB, free: 100 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3484, allocations: 0 / 443.6 MB, free: 100 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001714/0.3486, allocations: 77.45 kB / 443.7 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3486, allocations: 11.98 kB / 443.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3486, allocations: 0 / 443.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.3486, allocations: 0 / 443.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.3487, allocations: 12.05 kB / 443.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3487, allocations: 0 / 443.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.3488, allocations: 0 / 443.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3488, allocations: 7.938 kB / 443.7 MB, free: 15.98 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 8.839e-05/0.3489, allocations: 117.8 kB / 443.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.3489, allocations: 11.83 kB / 443.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.3492, allocations: 105.5 kB / 443.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3492, allocations: 0 / 443.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3492, allocations: 4 kB / 443.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3492, allocations: 0 / 443.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.3493, allocations: 169.6 kB / 444.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3493, allocations: 3.938 kB / 444.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.3494, allocations: 20.11 kB / 444.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3494, allocations: 7.938 kB / 444.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3494, allocations: 0 / 444.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3494, allocations: 0 / 444.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3494, allocations: 0 / 444.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.3496, allocations: 101.9 kB / 444.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.3497, allocations: 93.27 kB / 444.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3497, allocations: 0 / 444.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.3498, allocations: 4 kB / 444.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.3498, allocations: 15.97 kB / 444.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.3498, allocations: 0 / 444.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.206e-05/0.3499, allocations: 91.27 kB / 444.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3499, allocations: 4 kB / 444.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008387/0.3507, allocations: 326.8 kB / 444.7 MB, free: 14.83 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.001565/0.3523, allocations: 1.116 MB / 445.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.3525, allocations: 43.91 kB / 445.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3525, allocations: 0 / 445.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.3525, allocations: 23.92 kB / 445.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3527, allocations: 11.98 kB / 445.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3545, allocations: 1.468 MB / 447.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3548, allocations: 0.6807 MB / 448.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.3549, allocations: 47.92 kB / 448.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.355, allocations: 27.36 kB / 448.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.355, allocations: 0 / 448.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.3917, allocations: 10.54 MB / 458.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.899, allocations: 16.23 kB / 458.7 MB, free: 0.8008 MB / 366.1 MB (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.0004 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)