Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001731/0.001731, 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.001742/0.001742, allocations: 212.3 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.DryAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2",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.002014/0.002014, allocations: 68.77 kB / 378.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04269/0.3241, allocations: 37.99 MB / 469.9 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006218/0.3303, allocations: 4.615 MB / 474.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.3306, allocations: 11.94 kB / 474.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.3315, allocations: 298.1 kB / 474.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.3325, allocations: 497.3 kB / 475.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004543/0.337, allocations: 1.659 MB / 477 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.3388, allocations: 1.292 MB / 478.3 MB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.3391, allocations: 123 kB / 478.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007619/0.3398, allocations: 486.4 kB / 478.9 MB, free: 7.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.3405, allocations: 430.3 kB / 479.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.3405, allocations: 51.94 kB / 479.3 MB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.3422, allocations: 0.7571 MB / 480.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.3423, allocations: 135.5 kB / 480.2 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.3427, allocations: 279 kB / 480.5 MB, free: 6.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.3442, allocations: 1.059 MB / 481.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3442, allocations: 0 / 481.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3442, allocations: 0 / 481.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3442, allocations: 0 / 481.6 MB, free: 5.121 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001207/0.3454, allocations: 0.7152 MB / 482.3 MB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3455, allocations: 8.031 kB / 482.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.663e-05/0.3456, allocations: 78.72 kB / 482.4 MB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000599/0.3462, allocations: 80.62 kB / 482.4 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.3467, allocations: 281.7 kB / 482.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.3468, allocations: 33.38 kB / 482.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.3468, allocations: 40.38 kB / 482.8 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.3476, allocations: 471.4 kB / 483.2 MB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.3476, allocations: 8 kB / 483.2 MB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.3477, allocations: 16 kB / 483.3 MB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3477, allocations: 12 kB / 483.3 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.3482, allocations: 303.6 kB / 483.6 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.3619, allocations: 5.495 MB / 489.1 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.3624, allocations: 270.3 kB / 489.3 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.3626, allocations: 136.8 kB / 489.5 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3729, allocations: 2.668 MB / 492.1 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.651e-05/0.373, allocations: 35.16 kB / 492.2 MB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.373, allocations: 0 / 492.2 MB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01179/0.3848, allocations: 2.327 MB / 494.5 MB, free: 7.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3848, allocations: 59.39 kB / 494.6 MB, free: 7.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.3852, allocations: 296.5 kB / 494.8 MB, free: 7.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.3853, allocations: 37.7 kB / 494.9 MB, free: 7.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.3854, allocations: 228.5 kB / 495.1 MB, free: 7.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.3856, allocations: 170.6 kB / 495.3 MB, free: 6.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.3857, allocations: 102.3 kB / 495.4 MB, free: 6.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3859, allocations: 342.8 kB / 495.7 MB, free: 6.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.3862, allocations: 153.2 kB / 495.9 MB, free: 6.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.3866, allocations: 276.6 kB / 496.1 MB, free: 6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.3873, allocations: 472.3 kB / 496.6 MB, free: 5.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3873, allocations: 0 / 496.6 MB, free: 5.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00115/0.3884, allocations: 0.5956 MB / 497.2 MB, free: 4.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3884, allocations: 8 kB / 497.2 MB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3884, allocations: 0 / 497.2 MB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007971/0.3964, allocations: 1.848 MB / 499 MB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.3969, allocations: 107.8 kB / 499.1 MB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.3993, allocations: 2.466 MB / 0.4898 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.3996, allocations: 12 kB / 0.4899 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.3997, allocations: 24 kB / 0.4899 GB, free: 264 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002656/0.3999, allocations: 177.7 kB / 0.4901 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.4, allocations: 39.77 kB / 0.4901 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.4014, allocations: 0.8726 MB / 0.4909 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.4014, allocations: 11.98 kB / 0.491 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.4014, allocations: 3.938 kB / 0.491 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.4026, allocations: 0.9708 MB / 0.4919 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.4048, allocations: 1.483 MB / 0.4934 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4048, allocations: 0 / 0.4934 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.4051, allocations: 79.89 kB / 0.4934 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003381/0.4085, allocations: 0.6218 MB / 0.494 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.4085, allocations: 19.94 kB / 0.4941 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.4097, allocations: 1.296 MB / 0.4953 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4097, allocations: 3.938 kB / 0.4953 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.4115, allocations: 1.247 MB / 0.4965 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4116, allocations: 47.69 kB / 0.4966 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.4117, allocations: 16.16 kB / 0.4966 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.4119, allocations: 11.94 kB / 0.4966 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.412, allocations: 31.92 kB / 0.4966 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.412, allocations: 19.94 kB / 0.4967 GB, free: 9.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002757/0.4123, allocations: 215.1 kB / 0.4969 GB, free: 8.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4123, allocations: 0 / 0.4969 GB, free: 8.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008032/0.4131, allocations: 227.7 kB / 0.4971 GB, free: 8.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002678/0.4158, allocations: 1.976 MB / 0.499 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.4171, allocations: 0.6716 MB / 0.4997 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4171, allocations: 4.438 kB / 0.4997 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.4181, allocations: 428.3 kB / 0.5001 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.4194, allocations: 242 kB / 0.5003 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006599/0.426, allocations: 4.489 MB / 0.5047 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.4265, allocations: 0.8362 MB / 0.5055 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003311/0.4268, allocations: 76.33 kB / 0.5056 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.4271, allocations: 159.4 kB / 0.5057 GB, free: 15.51 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4271, allocations: 7.875 kB / 0.5057 GB, free: 15.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05337/0.4804, allocations: 18 MB / 0.5233 GB, free: 13.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.47, allocations: 10.58 kB / 0.5233 GB, free: 13.67 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.16108446009457] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.p'] 13.573866835329682 13.774922172 13.249511663 Calling exit ...