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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001338/0.001338, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.4/1.4, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.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"}) [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.001866/0.001866, allocations: 68.12 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09488, allocations: 53.31 MB / 426.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2079/0.3028, allocations: 27.24 MB / 454.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005349/0.3081, allocations: 4.18 MB / 458.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.3084, allocations: 4.219 kB / 458.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007157/0.3092, allocations: 215.2 kB / 458.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008148/0.31, allocations: 343 kB / 458.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.3153, allocations: 1.483 MB / 460.3 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.3166, allocations: 0.8783 MB / 461.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.3169, allocations: 78.95 kB / 461.3 MB, free: 6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006465/0.3233, allocations: 4.076 MB / 465.4 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004063/0.3237, allocations: 286.5 kB / 465.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.3238, allocations: 32.09 kB / 465.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.3255, allocations: 0.7249 MB / 466.4 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3256, allocations: 105.5 kB / 466.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.3258, allocations: 194 kB / 466.7 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.3271, allocations: 0.8509 MB / 467.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3271, allocations: 1.219 kB / 467.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3271, allocations: 0 / 467.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3271, allocations: 0 / 467.5 MB, free: 3.414 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.000979/0.3281, allocations: 0.656 MB / 468.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3281, allocations: 7.656 kB / 468.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.181e-05/0.3282, allocations: 68.53 kB / 468.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/0.3286, allocations: 53.27 kB / 468.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.3291, allocations: 298.4 kB / 468.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.3291, allocations: 23.69 kB / 468.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.3291, allocations: 27 kB / 468.7 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.3296, allocations: 341.2 kB / 469 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3297, allocations: 5.156 kB / 469 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.3297, allocations: 16.31 kB / 469 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3297, allocations: 6.594 kB / 469 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.33, allocations: 213 kB / 469.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.3434, allocations: 5.917 MB / 475.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.3437, allocations: 168.7 kB / 475.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3438, allocations: 80.61 kB / 475.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.3545, allocations: 3.894 MB / 479.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.3545, allocations: 31.72 kB / 479.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/0.3545, allocations: 0.9688 kB / 479.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006295/0.3608, allocations: 1.417 MB / 480.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3609, allocations: 54.16 kB / 480.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.3612, allocations: 262.5 kB / 481 MB, free: 9.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.3612, allocations: 31.39 kB / 481.1 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3614, allocations: 187.7 kB / 481.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.3615, allocations: 102.8 kB / 481.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3616, allocations: 67.34 kB / 481.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3617, allocations: 333.5 kB / 481.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.3619, allocations: 93.55 kB / 481.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.3621, allocations: 198.1 kB / 482 MB, free: 8.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.3626, allocations: 299.3 kB / 482.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3626, allocations: 3.938 kB / 482.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007146/0.3633, allocations: 390.2 kB / 482.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3633, allocations: 6.125 kB / 482.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3633, allocations: 4.125 kB / 482.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004069/0.3674, allocations: 0.9347 MB / 483.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3677, allocations: 72.78 kB / 483.7 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.3694, allocations: 1.974 MB / 485.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.3696, allocations: 8.031 kB / 485.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.3696, allocations: 19.98 kB / 485.7 MB, free: 4.918 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.0001851/0.3698, allocations: 166.3 kB / 485.9 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.3699, allocations: 35.69 kB / 485.9 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000753/0.3707, allocations: 486.3 kB / 486.4 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3707, allocations: 8 kB / 486.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.3707, allocations: 0 / 486.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007181/0.3714, allocations: 0.7121 MB / 487.1 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.3727, allocations: 0.9425 MB / 488.1 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3727, allocations: 4 kB / 488.1 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.3729, allocations: 43.92 kB / 488.1 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.3747, allocations: 320.3 kB / 488.4 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3747, allocations: 5.688 kB / 488.4 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005359/0.3752, allocations: 0.6499 MB / 489.1 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3752, allocations: 0 / 489.1 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.3762, allocations: 0.7218 MB / 489.8 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.3763, allocations: 105.1 kB / 489.9 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.3763, allocations: 8 kB / 489.9 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3765, allocations: 4 kB / 489.9 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3765, allocations: 19.97 kB / 489.9 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3766, allocations: 9.125 kB / 489.9 MB, free: 468 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.3768, allocations: 190 kB / 490.1 MB, free: 280 kB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3768, allocations: 0 / 490.1 MB, free: 280 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007007/0.3775, allocations: 187.7 kB / 490.3 MB, free: 92 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.001846/0.3793, allocations: 1.438 MB / 491.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008246/0.3801, allocations: 446.7 kB / 492.2 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.3801, allocations: 8 kB / 492.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.3807, allocations: 212.5 kB / 492.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3817, allocations: 181.3 kB / 492.6 MB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.386, allocations: 3.32 MB / 495.9 MB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3864, allocations: 0.7799 MB / 496.7 MB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.3866, allocations: 55.92 kB / 496.7 MB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3868, allocations: 99.34 kB / 496.8 MB, free: 9.359 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3868, allocations: 0 / 496.8 MB, free: 9.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04142/0.4282, allocations: 13.5 MB / 0.4984 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.53, allocations: 11.81 kB / 0.4984 GB, free: 12.03 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.833078149240464] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p'] 12.629746999125928 12.657251668 12.324886721 Calling exit ...