Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.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.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001796/0.001796, allocations: 199.8 kB / 16.14 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 222 MB, free: 4.742 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.001151/0.001151, allocations: 47.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1897, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3203/0.5101, allocations: 151 MB / 475.6 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.5113, allocations: 0.9967 MB / 476.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.5114, allocations: 0 / 476.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.5118, allocations: 76.62 kB / 476.7 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.5122, allocations: 271.9 kB / 477 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.5148, allocations: 1.135 MB / 478.1 MB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.519, allocations: 7.147 MB / 485.2 MB, free: 12.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.5193, allocations: 261.7 kB / 485.5 MB, free: 12.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.5216, allocations: 1.902 MB / 487.4 MB, free: 12.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.5239, allocations: 1.956 MB / 489.4 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000443/0.5243, allocations: 140.7 kB / 489.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.5275, allocations: 1.842 MB / 491.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009573/0.5285, allocations: 1.08 MB / 492.4 MB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.5303, allocations: 1.417 MB / 493.8 MB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.5349, allocations: 4.508 MB / 498.3 MB, free: 8.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5349, allocations: 3.938 kB / 498.3 MB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.5349, allocations: 0 / 498.3 MB, free: 8.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.755e-05/0.535, allocations: 0 / 498.3 MB, free: 8.992 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.009192/0.5442, allocations: 3.518 MB / 0.4901 GB, free: 7.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5443, allocations: 13.66 kB / 0.4901 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.5462, allocations: 324.5 kB / 0.4904 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.5487, allocations: 1.323 MB / 0.4917 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.5488, allocations: 181.4 kB / 0.4919 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/0.5493, allocations: 241.3 kB / 0.4921 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/0.5558, allocations: 3.821 MB / 0.4958 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.5558, allocations: 3.938 kB / 0.4959 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/0.5562, allocations: 115.5 kB / 0.496 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.5563, allocations: 58.78 kB / 0.496 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00847/0.5647, allocations: 5.989 MB / 0.5019 GB, free: 0.5195 MB / 398.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.01927/0.584, allocations: 11.17 MB / 0.5128 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006891/0.591, allocations: 5.045 MB / 0.5177 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003696/0.5947, allocations: 2.401 MB / 0.52 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.5953, allocations: 440.6 kB / 0.5205 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.18e-05/0.5954, allocations: 90.62 kB / 0.5206 GB, free: 14.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 4.749e-06/0.5954, allocations: 0 / 0.5206 GB, free: 14.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009938/0.6054, allocations: 5.82 MB / 0.5262 GB, free: 8.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.6055, allocations: 94.47 kB / 0.5263 GB, free: 8.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.6066, allocations: 0.8673 MB / 0.5272 GB, free: 7.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004455/0.607, allocations: 105.7 kB / 0.5273 GB, free: 7.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.6074, allocations: 0.5131 MB / 0.5278 GB, free: 6.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.6084, allocations: 1.305 MB / 0.529 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000882/0.6093, allocations: 0.6302 MB / 0.5297 GB, free: 5.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6094, allocations: 353.9 kB / 0.53 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/0.6121, allocations: 1.744 MB / 0.5317 GB, free: 2.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.615, allocations: 2.262 MB / 0.5339 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005981/0.621, allocations: 4.333 MB / 0.5381 GB, free: 12.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.621, allocations: 0 / 0.5381 GB, free: 12.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007284/0.6283, allocations: 4.59 MB / 0.5426 GB, free: 7.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6284, allocations: 12 kB / 0.5426 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.6284, allocations: 12 kB / 0.5426 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/0.6284, allocations: 24 kB / 0.5427 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/0.6321, allocations: 0.7918 MB / 0.5434 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.992e-05/0.6322, allocations: 39.86 kB / 0.5435 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.6348, allocations: 420.5 kB / 0.5439 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.6352, allocations: 151.9 kB / 0.544 GB, free: 5.961 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.002011/0.6372, allocations: 0.7543 MB / 0.5448 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008965/0.6381, allocations: 209.8 kB / 0.545 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009017/0.6471, allocations: 5.177 MB / 0.55 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/0.6472, allocations: 44 kB / 0.5501 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.6472, allocations: 3.938 kB / 0.5501 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/0.6473, allocations: 19.92 kB / 0.5501 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.6523, allocations: 2.81 MB / 0.5528 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.6523, allocations: 4 kB / 0.5528 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003676/0.656, allocations: 0.7255 MB / 0.5535 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-05/0.656, allocations: 16 kB / 0.5536 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/0.6564, allocations: 91.95 kB / 0.5536 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.191e-05/0.6564, allocations: 16 kB / 0.5537 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6564, allocations: 7.938 kB / 0.5537 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.6676, allocations: 7.217 MB / 0.5607 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008464/0.6685, allocations: 321.9 kB / 0.561 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005572/0.6691, allocations: 87.84 kB / 0.5611 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/0.6722, allocations: 295.5 kB / 0.5614 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007322/0.6729, allocations: 314.8 kB / 0.5617 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004948/0.6734, allocations: 179.9 kB / 0.5619 GB, free: 3.629 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009461/0.6744, allocations: 0.6824 MB / 0.5625 GB, free: 2.953 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6744, allocations: 0 / 0.5625 GB, free: 2.953 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002784/0.6772, allocations: 1.089 MB / 0.5636 GB, free: 1.863 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.00127/0.6785, allocations: 472.5 kB / 0.564 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006704/0.6852, allocations: 4.277 MB / 0.5682 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.6852, allocations: 5 kB / 0.5682 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003141/0.6884, allocations: 2.268 MB / 0.5704 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/0.6941, allocations: 1.228 MB / 0.5716 GB, free: 9.621 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.7061, allocations: 7.634 MB / 0.5791 GB, free: 1.957 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.7073, allocations: 1.849 MB / 0.5809 GB, free: 72 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005301/0.7126, allocations: 1.764 MB / 0.5826 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.7136, allocations: 295.3 kB / 0.5829 GB, free: 14.01 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7136, allocations: 0 / 0.5829 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Templates: time 0.2206/0.9342, allocations: 61.05 MB / 0.6425 GB, free: 250.8 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)