Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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.00139/0.00139, allocations: 109.8 kB / 19.75 MB, free: 2.562 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.001479/0.001479, allocations: 217.6 kB / 22.92 MB, free: 5.539 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.278/1.278, allocations: 230.5 MB / 256.4 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 179] 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.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",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.001762/0.001762, allocations: 71.88 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2064, allocations: 53.31 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03071/0.2371, allocations: 26.86 MB / 456.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.2399, allocations: 2.274 MB / 458.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.24, allocations: 0 / 458.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.2403, allocations: 63.62 kB / 458.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.2406, allocations: 163 kB / 458.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01443/0.2551, allocations: 6.553 MB / 465.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.2555, allocations: 338.7 kB / 465.6 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.2556, allocations: 5.562 kB / 465.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.2558, allocations: 147.5 kB / 465.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.256, allocations: 127.5 kB / 465.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.256, allocations: 12 kB / 465.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01622/0.2722, allocations: 9.654 MB / 475.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2724, allocations: 75.77 kB / 475.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.2725, allocations: 103.5 kB / 475.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008692/0.2812, allocations: 4.743 MB / 480.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2812, allocations: 0 / 480.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2812, allocations: 0 / 480.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2812, allocations: 0 / 480.5 MB, free: 4.23 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002816/0.2841, allocations: 1.185 MB / 481.7 MB, free: 2.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2841, allocations: 12.02 kB / 481.7 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.2842, allocations: 50.73 kB / 481.7 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.2843, allocations: 28.03 kB / 481.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2846, allocations: 218.8 kB / 482 MB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2846, allocations: 20.25 kB / 482 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.2846, allocations: 23.95 kB / 482 MB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.2853, allocations: 281.4 kB / 482.3 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2853, allocations: 4 kB / 482.3 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.2854, allocations: 4 kB / 482.3 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.2854, allocations: 11.94 kB / 482.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.2862, allocations: 311.8 kB / 482.6 MB, free: 1.984 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2876, allocations: 0.8206 MB / 483.4 MB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.2882, allocations: 249.1 kB / 483.7 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.2885, allocations: 125.6 kB / 483.8 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/0.3041, allocations: 12.84 MB / 496.6 MB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3041, allocations: 34.56 kB / 496.7 MB, free: 1.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.3041, allocations: 0 / 496.7 MB, free: 1.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002752/0.3069, allocations: 0.7027 MB / 497.4 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.307, allocations: 89.11 kB / 497.5 MB, free: 496 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3071, allocations: 144.6 kB / 497.6 MB, free: 344 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.3071, allocations: 33.7 kB / 497.6 MB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.3072, allocations: 116.9 kB / 497.8 MB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.3073, allocations: 134.8 kB / 497.9 MB, free: 48 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3074, allocations: 77.62 kB / 498 MB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3076, allocations: 330.8 kB / 498.3 MB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.3079, allocations: 131.9 kB / 498.4 MB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.3084, allocations: 215.5 kB / 498.6 MB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009198/0.3093, allocations: 362.1 kB / 499 MB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3093, allocations: 0 / 499 MB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001146/0.3105, allocations: 421.1 kB / 499.4 MB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3105, allocations: 6.969 kB / 499.4 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3105, allocations: 4 kB / 499.4 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3105, allocations: 11.92 kB / 499.4 MB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.311, allocations: 87.88 kB / 499.5 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.311, allocations: 4 kB / 499.5 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.3113, allocations: 24.17 kB / 499.5 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.3113, allocations: 19.98 kB / 499.5 MB, free: 14.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.3114, allocations: 145.6 kB / 499.7 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.3116, allocations: 31.84 kB / 499.7 MB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.312, allocations: 190.6 kB / 499.9 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.312, allocations: 4 kB / 499.9 MB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.312, allocations: 0 / 499.9 MB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.312, allocations: 4 kB / 499.9 MB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.3137, allocations: 0.7791 MB / 0.489 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3137, allocations: 0 / 0.489 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.3142, allocations: 84.03 kB / 0.489 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3142, allocations: 0 / 0.489 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.3142, allocations: 19.98 kB / 0.4891 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3142, allocations: 7.938 kB / 0.4891 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3142, allocations: 0 / 0.4891 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.3157, allocations: 0.722 MB / 0.4898 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3158, allocations: 120.9 kB / 0.4899 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3159, allocations: 12 kB / 0.4899 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.3162, allocations: 23.97 kB / 0.4899 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.3163, allocations: 35.91 kB / 0.49 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.3163, allocations: 12 kB / 0.49 GB, free: 12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.879e-05/0.3164, allocations: 114 kB / 0.4901 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3164, allocations: 0 / 0.4901 GB, free: 11.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002491/0.3189, allocations: 0.9628 MB / 0.491 GB, free: 10.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005355/0.3242, allocations: 2.432 MB / 0.4934 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009687/0.3252, allocations: 332.7 kB / 0.4937 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/0.3252, allocations: 4 kB / 0.4937 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.3257, allocations: 171.6 kB / 0.4939 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.3264, allocations: 100.2 kB / 0.494 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/0.3319, allocations: 3.254 MB / 0.4971 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3322, allocations: 0.7335 MB / 0.4979 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.3326, allocations: 86.38 kB / 0.4979 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.3327, allocations: 79.41 kB / 0.498 GB, free: 3.527 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3327, allocations: 0 / 0.498 GB, free: 3.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06507/0.3978, allocations: 33.19 MB / 0.5304 GB, free: 2.441 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/8.87, allocations: 17.94 kB / 0.5305 GB, free: 2.43 MB / 446.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.921611705998657]