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.001746/0.001746, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002091/0.002091, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001932/0.001932, allocations: 71.88 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2462, allocations: 53.38 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04068/0.2869, allocations: 37.98 MB / 469.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006097/0.293, allocations: 4.623 MB / 474.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.2933, allocations: 11.94 kB / 474.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008371/0.2942, allocations: 298.1 kB / 474.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000964/0.2951, allocations: 493.3 kB / 475.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004706/0.2998, allocations: 1.652 MB / 477 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.3017, allocations: 1.296 MB / 478.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.302, allocations: 123 kB / 478.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008574/0.3029, allocations: 482.5 kB / 478.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006454/0.3035, allocations: 434.3 kB / 479.3 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.593e-05/0.3036, allocations: 44 kB / 479.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.3054, allocations: 0.7571 MB / 480.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.3056, allocations: 139.4 kB / 480.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.3059, allocations: 279 kB / 480.5 MB, free: 6.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.3075, allocations: 1.063 MB / 481.6 MB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3076, allocations: 0 / 481.6 MB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3076, allocations: 0 / 481.6 MB, free: 5.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.3076, allocations: 0 / 481.6 MB, free: 5.086 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.001187/0.3087, allocations: 0.7114 MB / 482.3 MB, free: 4.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3088, allocations: 12.03 kB / 482.3 MB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.071e-05/0.3089, allocations: 74.72 kB / 482.3 MB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/0.3095, allocations: 84.62 kB / 482.4 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.31, allocations: 281.7 kB / 482.7 MB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.31, allocations: 29.38 kB / 482.7 MB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.3101, allocations: 40.38 kB / 482.8 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.3108, allocations: 471.4 kB / 483.2 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3108, allocations: 8 kB / 483.2 MB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.3109, allocations: 16 kB / 483.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3109, allocations: 16 kB / 483.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.3114, allocations: 303.6 kB / 483.6 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.325, allocations: 5.495 MB / 489.1 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.3255, allocations: 266.4 kB / 489.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.3257, allocations: 136.8 kB / 489.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009608/0.3353, allocations: 2.672 MB / 492.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.3354, allocations: 31.16 kB / 492.2 MB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.3354, allocations: 3.938 kB / 492.2 MB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01164/0.347, allocations: 2.319 MB / 494.5 MB, free: 7.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.3471, allocations: 59.41 kB / 494.5 MB, free: 7.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.3474, allocations: 296.5 kB / 494.8 MB, free: 7.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.3475, allocations: 37.7 kB / 494.9 MB, free: 7.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.3476, allocations: 228.5 kB / 495.1 MB, free: 7.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.3478, allocations: 170.6 kB / 495.3 MB, free: 6.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.3479, allocations: 102.2 kB / 495.4 MB, free: 6.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3481, allocations: 342.8 kB / 495.7 MB, free: 6.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.3483, allocations: 157.2 kB / 495.8 MB, free: 6.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.3487, allocations: 272.7 kB / 496.1 MB, free: 5.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/0.3494, allocations: 472.3 kB / 496.6 MB, free: 5.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3494, allocations: 3.938 kB / 496.6 MB, free: 5.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001124/0.3505, allocations: 0.5922 MB / 497.2 MB, free: 4.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3505, allocations: 8.031 kB / 497.2 MB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3505, allocations: 8 kB / 497.2 MB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007886/0.3584, allocations: 1.839 MB / 499 MB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.3589, allocations: 107.8 kB / 499.1 MB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.3611, allocations: 2.47 MB / 0.4898 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.3614, allocations: 12 kB / 0.4899 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.3615, allocations: 24 kB / 0.4899 GB, free: 232 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.0002429/0.3617, allocations: 177.6 kB / 0.49 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.3618, allocations: 43.75 kB / 0.4901 GB, free: 0 / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.3632, allocations: 0.8725 MB / 0.4909 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.3632, allocations: 11.98 kB / 0.491 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.3632, allocations: 0 / 0.491 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/0.3644, allocations: 0.9708 MB / 0.4919 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.3665, allocations: 1.479 MB / 0.4933 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3665, allocations: 3.938 kB / 0.4933 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.3669, allocations: 83.92 kB / 0.4934 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003311/0.3702, allocations: 0.6179 MB / 0.494 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.3702, allocations: 15.94 kB / 0.494 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.3714, allocations: 1.304 MB / 0.4953 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.3714, allocations: 3.938 kB / 0.4953 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.3732, allocations: 1.254 MB / 0.4966 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3733, allocations: 43.69 kB / 0.4966 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.3734, allocations: 15.94 kB / 0.4966 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3736, allocations: 11.94 kB / 0.4966 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.3737, allocations: 27.94 kB / 0.4966 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.3737, allocations: 19.98 kB / 0.4967 GB, free: 9.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.374, allocations: 215.1 kB / 0.4969 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.374, allocations: 0 / 0.4969 GB, free: 8.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008071/0.3748, allocations: 227.7 kB / 0.4971 GB, free: 8.602 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.002707/0.3775, allocations: 1.972 MB / 0.499 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.3789, allocations: 0.6759 MB / 0.4997 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3789, allocations: 0 / 0.4997 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3799, allocations: 424.4 kB / 0.5001 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.3811, allocations: 243.5 kB / 0.5003 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.3875, allocations: 4.501 MB / 0.5047 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.388, allocations: 0.8323 MB / 0.5055 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.3883, allocations: 72.34 kB / 0.5056 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.3885, allocations: 163.4 kB / 0.5057 GB, free: 15.47 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3885, allocations: 0 / 0.5057 GB, free: 15.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04954/0.4381, allocations: 18.01 MB / 0.5233 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.1, allocations: 6.344 kB / 0.5233 GB, free: 13.63 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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: 15.673649820964783] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.p'] 13.204545668326318 13.414415557 12.909640322 Calling exit ...