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.001273/0.001273, allocations: 113.3 kB / 20.22 MB, free: 1.934 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.001348/0.001348, allocations: 218.9 kB / 23.48 MB, free: 5.16 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.43/1.43, allocations: 230.4 MB / 257 MB, free: 8.258 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.002082/0.002082, allocations: 59.91 kB / 377.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2488, allocations: 53.31 MB / 430.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03094/0.2797, allocations: 27.41 MB / 457.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.2852, allocations: 4.21 MB / 462 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.2856, allocations: 7.938 kB / 462 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.2864, allocations: 214.7 kB / 462.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.2877, allocations: 330.2 kB / 462.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004593/0.2922, allocations: 1.477 MB / 464 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2937, allocations: 0.8912 MB / 464.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.2939, allocations: 76.69 kB / 465 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007608/0.3016, allocations: 4.115 MB / 469.1 MB, free: 428 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.3021, allocations: 294.8 kB / 469.4 MB, free: 132 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.503e-05/0.3022, allocations: 32 kB / 469.4 MB, free: 100 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.3039, allocations: 0.7337 MB / 470.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3041, allocations: 91.67 kB / 470.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.3044, allocations: 195.2 kB / 470.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.3061, allocations: 0.8569 MB / 471.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3061, allocations: 0 / 471.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3061, allocations: 0 / 471.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3061, allocations: 0 / 471.3 MB, free: 14.22 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001184/0.3073, allocations: 0.6658 MB / 472 MB, free: 13.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3073, allocations: 12.03 kB / 472 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.562e-05/0.3074, allocations: 58.73 kB / 472 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.3079, allocations: 60.72 kB / 472.1 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.3085, allocations: 295.8 kB / 472.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3085, allocations: 20.94 kB / 472.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.3085, allocations: 28.38 kB / 472.4 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.3091, allocations: 338.4 kB / 472.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3091, allocations: 0 / 472.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.3091, allocations: 16 kB / 472.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3092, allocations: 8 kB / 472.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.3095, allocations: 206 kB / 473 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.3227, allocations: 5.916 MB / 478.9 MB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.323, allocations: 170.6 kB / 479.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.3232, allocations: 84.83 kB / 479.2 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.3336, allocations: 3.885 MB / 483 MB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.3336, allocations: 34.56 kB / 483.1 MB, free: 1.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.3336, allocations: 0 / 483.1 MB, free: 1.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006349/0.34, allocations: 1.422 MB / 484.5 MB, free: 4 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.34, allocations: 55.41 kB / 484.5 MB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.3403, allocations: 262.5 kB / 484.8 MB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.3404, allocations: 33.7 kB / 484.8 MB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3405, allocations: 184.5 kB / 485 MB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.609e-05/0.3406, allocations: 103.1 kB / 485.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3407, allocations: 73.64 kB / 485.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3409, allocations: 334.8 kB / 485.5 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3411, allocations: 87.97 kB / 485.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.3413, allocations: 194.8 kB / 485.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.3417, allocations: 303 kB / 486.1 MB, free: 14.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3417, allocations: 0 / 486.1 MB, free: 14.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007263/0.3425, allocations: 386.9 kB / 486.5 MB, free: 13.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.3425, allocations: 8 kB / 486.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3425, allocations: 7.938 kB / 486.5 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004148/0.3466, allocations: 0.9345 MB / 487.4 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.3469, allocations: 67.91 kB / 487.5 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.3487, allocations: 1.982 MB / 489.5 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.349, allocations: 8 kB / 489.5 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.349, allocations: 16 kB / 489.5 MB, free: 10.7 MB / 398.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.0002162/0.3492, allocations: 165.7 kB / 489.7 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.3493, allocations: 31.81 kB / 489.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007836/0.3501, allocations: 482.2 kB / 490.2 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3501, allocations: 7.984 kB / 490.2 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3501, allocations: 0 / 490.2 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007413/0.3508, allocations: 0.7121 MB / 490.9 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3522, allocations: 0.9465 MB / 491.8 MB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.3522, allocations: 7.922 kB / 491.8 MB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3524, allocations: 43.98 kB / 491.9 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/0.3541, allocations: 316.5 kB / 492.2 MB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.3541, allocations: 7.984 kB / 492.2 MB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005878/0.3547, allocations: 0.65 MB / 492.8 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3547, allocations: 0 / 492.8 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3558, allocations: 0.718 MB / 493.6 MB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.3559, allocations: 117 kB / 493.7 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.3559, allocations: 4 kB / 493.7 MB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3561, allocations: 4 kB / 493.7 MB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3561, allocations: 15.98 kB / 493.7 MB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3562, allocations: 15.92 kB / 493.7 MB, free: 6.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.3564, allocations: 186 kB / 493.9 MB, free: 6.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3564, allocations: 0 / 493.9 MB, free: 6.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007186/0.3571, allocations: 191.6 kB / 494.1 MB, free: 5.867 MB / 398.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.002023/0.3591, allocations: 1.425 MB / 495.5 MB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009387/0.3601, allocations: 447.4 kB / 495.9 MB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.3601, allocations: 0 / 495.9 MB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.3606, allocations: 223.8 kB / 496.2 MB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009569/0.3616, allocations: 165.4 kB / 496.3 MB, free: 3.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.3664, allocations: 3.341 MB / 499.7 MB, free: 76 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.3669, allocations: 0.776 MB / 0.4887 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.3671, allocations: 54.94 kB / 0.4888 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.3673, allocations: 103.4 kB / 0.4889 GB, free: 15.11 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3673, allocations: 0 / 0.4889 GB, free: 15.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04599/0.4133, allocations: 13.54 MB / 0.5021 GB, free: 1.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.58, allocations: 10.98 kB / 0.5021 GB, free: 1.707 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.841500106966123] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p'] 12.680702693061903 12.69696409 12.387431194 Calling exit ...