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.000836/0.0008361, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001117/0.001117, allocations: 172.7 kB / 15.95 MB, free: 208 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.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004911/0.0004911, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02897/0.2529, allocations: 24.68 MB / 351.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.2557, allocations: 2.066 MB / 353.2 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.2558, allocations: 0 / 353.2 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.2561, allocations: 43.72 kB / 353.3 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.2565, allocations: 143.3 kB / 353.4 MB, free: 8.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.2693, allocations: 4.56 MB / 358 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.2699, allocations: 394.4 kB / 358.3 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.683e-05/0.27, allocations: 16.89 kB / 358.4 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.2703, allocations: 127.5 kB / 358.5 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.2706, allocations: 119.6 kB / 358.6 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.2707, allocations: 8 kB / 358.6 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.2865, allocations: 8.216 MB / 366.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.2867, allocations: 67.83 kB / 366.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2868, allocations: 53.64 kB / 366.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005297/0.2921, allocations: 3.006 MB / 369.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2921, allocations: 0 / 369.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2921, allocations: 0 / 369.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2921, allocations: 0 / 369.9 MB, free: 7.926 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.002941/0.2951, allocations: 1.072 MB / 371 MB, free: 6.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2951, allocations: 12.03 kB / 371 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2953, allocations: 27.75 kB / 371.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.2955, allocations: 206.9 kB / 371.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2956, allocations: 12.33 kB / 371.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.2956, allocations: 15.94 kB / 371.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.2963, allocations: 293.4 kB / 371.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2963, allocations: 0 / 371.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.2964, allocations: 4 kB / 371.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.2964, allocations: 8 kB / 371.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/0.2971, allocations: 311.7 kB / 371.9 MB, free: 5.879 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.001343/0.2985, allocations: 0.8204 MB / 372.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/0.2992, allocations: 249.1 kB / 373 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.2994, allocations: 133.6 kB / 373.1 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/0.3139, allocations: 12.91 MB / 386 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3139, allocations: 46.5 kB / 386 MB, free: 5.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.794e-06/0.3139, allocations: 0 / 386 MB, free: 5.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002537/0.3165, allocations: 0.6814 MB / 386.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3166, allocations: 89 kB / 386.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3167, allocations: 121.8 kB / 386.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3167, allocations: 45.64 kB / 387 MB, free: 4.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.3168, allocations: 104.8 kB / 387.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3169, allocations: 122.2 kB / 387.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.3169, allocations: 8 kB / 387.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3171, allocations: 326.8 kB / 387.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.3174, allocations: 127.9 kB / 387.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.3179, allocations: 207.6 kB / 387.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.3183, allocations: 155.9 kB / 388 MB, free: 3.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3183, allocations: 4 kB / 388 MB, free: 3.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/0.3194, allocations: 413 kB / 388.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3194, allocations: 11.98 kB / 388.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3194, allocations: 0 / 388.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3195, allocations: 4.219 kB / 388.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.3199, allocations: 91.88 kB / 388.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3199, allocations: 7.953 kB / 388.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.3202, allocations: 31.83 kB / 388.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.3203, allocations: 19.98 kB / 388.6 MB, free: 2.48 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.0001466/0.3205, allocations: 149.7 kB / 388.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3206, allocations: 19.8 kB / 388.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.3211, allocations: 187.1 kB / 388.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.3211, allocations: 8 kB / 388.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3211, allocations: 0 / 388.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3211, allocations: 3.953 kB / 388.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.3227, allocations: 0.7596 MB / 389.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3227, allocations: 0 / 389.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.3231, allocations: 84.03 kB / 389.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.3232, allocations: 4 kB / 389.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.3232, allocations: 15.98 kB / 389.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3232, allocations: 4 kB / 389.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3232, allocations: 4 kB / 389.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.3246, allocations: 0.7099 MB / 390.5 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.3248, allocations: 124.8 kB / 390.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.3248, allocations: 8 kB / 390.6 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.3252, allocations: 15.98 kB / 390.7 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3252, allocations: 23.97 kB / 390.7 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.3253, allocations: 24.05 kB / 390.7 MB, free: 220 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.182e-05/0.3253, allocations: 99.2 kB / 390.8 MB, free: 120 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3253, allocations: 0 / 390.8 MB, free: 120 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.002787/0.3281, allocations: 0.9213 MB / 391.7 MB, free: 15.2 MB / 334.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.004524/0.3327, allocations: 1.19 MB / 392.9 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.3337, allocations: 343.3 kB / 393.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3337, allocations: 0 / 393.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.3342, allocations: 184.4 kB / 393.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.335, allocations: 92.19 kB / 393.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.3364, allocations: 0.7293 MB / 394.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.3367, allocations: 0.7374 MB / 395 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004427/0.3372, allocations: 85.88 kB / 395.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3374, allocations: 43.41 kB / 395.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3374, allocations: 0 / 395.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of Templates: time 0.04415/0.3815, allocations: 30.96 MB / 426.1 MB, free: 12.71 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (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)