Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007114/0.0007115, allocations: 12 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2326, allocations: 47.59 MB / 326.4 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02543/0.2581, allocations: 22.05 MB / 348.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2608, allocations: 1.895 MB / 350.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.2609, allocations: 0 / 350.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.2612, allocations: 51.77 kB / 350.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.2616, allocations: 111.6 kB / 350.6 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01359/0.2752, allocations: 4.45 MB / 355 MB, free: 6.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.2756, allocations: 183.4 kB / 355.2 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.995e-05/0.2757, allocations: 8.906 kB / 355.2 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.276, allocations: 127.7 kB / 355.3 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.2762, allocations: 87.73 kB / 355.4 MB, free: 6.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.2762, allocations: 4 kB / 355.4 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/0.2911, allocations: 8.287 MB / 363.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.2913, allocations: 63.8 kB / 363.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.2914, allocations: 53.64 kB / 363.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.2971, allocations: 2.943 MB / 366.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2972, allocations: 0 / 366.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2972, allocations: 0 / 366.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2972, allocations: 3.938 kB / 366.8 MB, free: 11.11 MB / 302.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.003179/0.3004, allocations: 1.057 MB / 367.8 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3004, allocations: 12.03 kB / 367.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.3006, allocations: 31.75 kB / 367.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.3008, allocations: 210.8 kB / 368.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3008, allocations: 8.328 kB / 368.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.3009, allocations: 16 kB / 368.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.3016, allocations: 285.4 kB / 368.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3016, allocations: 0 / 368.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.3017, allocations: 12 kB / 368.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.3017, allocations: 7.938 kB / 368.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.3025, allocations: 307.8 kB / 368.7 MB, free: 9.082 MB / 302.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.001353/0.3038, allocations: 0.8321 MB / 369.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.3045, allocations: 249.1 kB / 369.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/0.3198, allocations: 12.92 MB / 382.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.3199, allocations: 38.56 kB / 382.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.3199, allocations: 0 / 382.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002785/0.3227, allocations: 0.6853 MB / 383.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3227, allocations: 85.06 kB / 383.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3228, allocations: 133.8 kB / 383.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.3229, allocations: 29.7 kB / 383.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.323, allocations: 104.8 kB / 383.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.364e-05/0.3231, allocations: 126.2 kB / 383.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.3231, allocations: 8 kB / 383.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3232, allocations: 322.8 kB / 384.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.3236, allocations: 139.9 kB / 384.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.3241, allocations: 195.6 kB / 384.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.3245, allocations: 159.9 kB / 384.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3245, allocations: 0 / 384.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001108/0.3257, allocations: 417 kB / 385.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3257, allocations: 8 kB / 385.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3257, allocations: 224 / 385.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3257, allocations: 8 kB / 385.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.3262, allocations: 91.81 kB / 385.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3262, allocations: 4 kB / 385.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.3265, allocations: 39.77 kB / 385.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.3266, allocations: 12 kB / 385.2 MB, free: 5.812 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.3267, allocations: 149.7 kB / 385.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3269, allocations: 19.81 kB / 385.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.3274, allocations: 191.1 kB / 385.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3274, allocations: 4 kB / 385.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.3274, allocations: 4 kB / 385.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3274, allocations: 3.984 kB / 385.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.3291, allocations: 0.7635 MB / 386.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3291, allocations: 0 / 386.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.3295, allocations: 88.03 kB / 386.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3295, allocations: 0 / 386.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.3296, allocations: 15.98 kB / 386.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3296, allocations: 4 kB / 386.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3296, allocations: 0 / 386.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.3311, allocations: 0.7717 MB / 387.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3313, allocations: 128.9 kB / 387.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.3314, allocations: 8 kB / 387.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.3317, allocations: 23.97 kB / 387.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.3318, allocations: 23.97 kB / 387.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.3318, allocations: 19.92 kB / 387.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.821e-05/0.3319, allocations: 95.27 kB / 387.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3319, allocations: 4 kB / 387.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002657/0.3345, allocations: 0.9213 MB / 388.5 MB, free: 2.414 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00347/0.338, allocations: 1.197 MB / 389.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3391, allocations: 347.4 kB / 390 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3391, allocations: 0 / 390 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.3395, allocations: 176.3 kB / 390.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.3402, allocations: 99.78 kB / 390.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3415, allocations: 0.7062 MB / 391 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3418, allocations: 0.7374 MB / 391.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000412/0.3422, allocations: 85.88 kB / 391.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.3424, allocations: 39.42 kB / 391.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3424, allocations: 0 / 391.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Templates: time 0.04181/0.3842, allocations: 30.95 MB / 422.8 MB, free: 15.96 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) Environment - environmentSimulation: