Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 203.9 kB / 18.74 MB, free: 4.309 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.423/1.423, allocations: 227.7 MB / 247.2 MB, free: 10.21 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.001931/0.001931, allocations: 67.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2522, allocations: 50.54 MB / 409.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03113/0.2833, allocations: 27.11 MB / 436.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005562/0.2889, allocations: 4.163 MB / 440.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.2893, allocations: 7.938 kB / 440.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007127/0.2901, allocations: 206.7 kB / 440.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007651/0.2909, allocations: 330.2 kB / 440.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004379/0.2953, allocations: 1.48 MB / 442.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.2965, allocations: 0.8795 MB / 443.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.2968, allocations: 104.7 kB / 443.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006442/0.3032, allocations: 4.045 MB / 447.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.3038, allocations: 282.9 kB / 447.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.3039, allocations: 32 kB / 447.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.3055, allocations: 0.722 MB / 448.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3057, allocations: 99.67 kB / 448.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.306, allocations: 191.2 kB / 448.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.3075, allocations: 0.8492 MB / 449.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3075, allocations: 3.984 kB / 449.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3075, allocations: 0 / 449.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.3075, allocations: 3.938 kB / 449.6 MB, free: 8.77 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001061/0.3086, allocations: 0.6619 MB / 450.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3087, allocations: 12.03 kB / 450.2 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.962e-05/0.3087, allocations: 62.73 kB / 450.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.3092, allocations: 56.72 kB / 450.4 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.3097, allocations: 299.8 kB / 450.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3098, allocations: 20.94 kB / 450.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.3098, allocations: 32.38 kB / 450.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.3104, allocations: 334.4 kB / 451 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3104, allocations: 3.938 kB / 451 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3105, allocations: 16 kB / 451 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3105, allocations: 8 kB / 451.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.3108, allocations: 210 kB / 451.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.3242, allocations: 5.904 MB / 457.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.3246, allocations: 187.5 kB / 457.3 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3247, allocations: 92.83 kB / 457.4 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.3355, allocations: 3.885 MB / 461.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.3356, allocations: 38.56 kB / 461.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.933e-06/0.3356, allocations: 0 / 461.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006303/0.3419, allocations: 1.422 MB / 462.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.342, allocations: 59.41 kB / 462.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.3423, allocations: 262.5 kB / 463.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.3423, allocations: 29.7 kB / 463.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3425, allocations: 188.5 kB / 463.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.618e-05/0.3426, allocations: 99.17 kB / 463.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3427, allocations: 65.64 kB / 463.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3429, allocations: 338.8 kB / 463.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.3431, allocations: 95.91 kB / 463.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3433, allocations: 186.8 kB / 464.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.3437, allocations: 299 kB / 464.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3438, allocations: 7.938 kB / 464.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007596/0.3445, allocations: 391 kB / 464.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3446, allocations: 8 kB / 464.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3446, allocations: 4 kB / 464.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004002/0.3486, allocations: 0.9348 MB / 465.7 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.3489, allocations: 71.91 kB / 465.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.3508, allocations: 1.974 MB / 467.8 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3511, allocations: 8 kB / 467.8 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.3511, allocations: 16 kB / 467.8 MB, free: 5.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.3514, allocations: 161.6 kB / 467.9 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.3514, allocations: 31.81 kB / 468 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/0.3522, allocations: 478.3 kB / 468.4 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.3523, allocations: 11.98 kB / 468.4 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3523, allocations: 4.062 kB / 468.4 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000757/0.353, allocations: 0.7123 MB / 469.2 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.3545, allocations: 0.9502 MB / 470.1 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.3545, allocations: 0 / 470.1 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.3547, allocations: 47.91 kB / 470.2 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.3564, allocations: 316.5 kB / 470.5 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.3565, allocations: 11.98 kB / 470.5 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/0.3571, allocations: 0.6421 MB / 471.1 MB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3571, allocations: 96 / 471.1 MB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.3581, allocations: 0.7256 MB / 471.8 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3583, allocations: 104.9 kB / 471.9 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.3584, allocations: 8 kB / 472 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3585, allocations: 4 kB / 472 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3586, allocations: 15.98 kB / 472 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.3586, allocations: 12.05 kB / 472 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.3588, allocations: 194 kB / 472.2 MB, free: 0.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.645e-06/0.3589, allocations: 0 / 472.2 MB, free: 0.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008265/0.3597, allocations: 187.6 kB / 472.4 MB, free: 408 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002072/0.3618, allocations: 1.429 MB / 473.8 MB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009129/0.3627, allocations: 459.5 kB / 474.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3627, allocations: 4 kB / 474.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.3633, allocations: 235.8 kB / 474.5 MB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3643, allocations: 169.5 kB / 474.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.369, allocations: 3.345 MB / 478 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.3695, allocations: 0.776 MB / 478.8 MB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000269/0.3698, allocations: 50.94 kB / 478.8 MB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.37, allocations: 107.4 kB / 478.9 MB, free: 9.602 MB / 398.1 MB Notification: Performance of SimCode: time 4.738e-06/0.37, allocations: 4 kB / 478.9 MB, free: 9.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/0.4159, allocations: 13.44 MB / 492.4 MB, free: 12.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.74, allocations: 0.8906 kB / 492.4 MB, free: 12.36 MB / 414.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)