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.001211/0.001211, allocations: 97.97 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.00148/0.00148, allocations: 177.3 kB / 15.95 MB, free: 216 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.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004289/0.000429, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1906, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1385/0.3292, allocations: 127.6 MB / 454.1 MB, free: 3.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.3314, allocations: 1.768 MB / 455.8 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.3315, allocations: 0 / 455.8 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.3318, allocations: 59.7 kB / 455.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.3323, allocations: 223.4 kB / 456.1 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.3345, allocations: 0.7909 MB / 456.9 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1832/0.5177, allocations: 3.069 MB / 460 MB, free: 2.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.5182, allocations: 255.8 kB / 460.2 MB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004605/0.5228, allocations: 1.881 MB / 462.1 MB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003544/0.5264, allocations: 1.636 MB / 463.7 MB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006835/0.5271, allocations: 140.2 kB / 463.9 MB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.5304, allocations: 1.365 MB / 465.2 MB, free: 2.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.5315, allocations: 1.022 MB / 466.3 MB, free: 2.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.5325, allocations: 0.4929 MB / 466.7 MB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.5357, allocations: 3.148 MB / 469.9 MB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5357, allocations: 0 / 469.9 MB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5357, allocations: 0 / 469.9 MB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.709e-05/0.5358, allocations: 0 / 469.9 MB, free: 1.883 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.00775/0.5436, allocations: 2.891 MB / 472.8 MB, free: 16.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5436, allocations: 8.906 kB / 472.8 MB, free: 16.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002412/0.546, allocations: 328 kB / 473.1 MB, free: 16.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/0.5496, allocations: 1.307 MB / 474.4 MB, free: 16.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.5497, allocations: 185.6 kB / 474.6 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005728/0.5503, allocations: 248.2 kB / 474.8 MB, free: 16.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006163/0.5565, allocations: 3.776 MB / 478.6 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.5566, allocations: 3.281 kB / 478.6 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003955/0.557, allocations: 112.2 kB / 478.7 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.557, allocations: 57.69 kB / 478.8 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009226/0.5662, allocations: 5.969 MB / 484.8 MB, free: 14.96 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.02199/0.5883, allocations: 11.18 MB / 495.9 MB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006374/0.5947, allocations: 5.027 MB / 0.4892 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/0.5953, allocations: 438.5 kB / 0.4896 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.5954, allocations: 97.69 kB / 0.4897 GB, free: 6.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=390): time 5.611e-06/0.5954, allocations: 0 / 0.4897 GB, free: 6.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=390): time 0.009657/0.6051, allocations: 5.787 MB / 0.4954 GB, free: 1.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.6052, allocations: 90.47 kB / 0.4955 GB, free: 1.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6063, allocations: 0.8724 MB / 0.4963 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004641/0.6068, allocations: 98.58 kB / 0.4964 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.6071, allocations: 0.5131 MB / 0.4969 GB, free: 408 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.6082, allocations: 1.302 MB / 0.4982 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.6084, allocations: 71.62 kB / 0.4983 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002882/0.6087, allocations: 0.4996 MB / 0.4988 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/0.6113, allocations: 1.725 MB / 0.5004 GB, free: 13.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/0.6144, allocations: 2.239 MB / 0.5026 GB, free: 11.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/0.6176, allocations: 2.097 MB / 0.5047 GB, free: 10.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.6176, allocations: 7.781 kB / 0.5047 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007411/0.6251, allocations: 4.562 MB / 0.5091 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.6251, allocations: 9.75 kB / 0.5091 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.6252, allocations: 19.92 kB / 0.5092 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.944e-05/0.6252, allocations: 28 kB / 0.5092 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/0.6288, allocations: 0.7874 MB / 0.51 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.061e-05/0.6288, allocations: 33.8 kB / 0.51 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/0.6316, allocations: 432.8 kB / 0.5104 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/0.632, allocations: 147.5 kB / 0.5105 GB, free: 5.348 MB / 414.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[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 initialization (450): * Single equations (assignments): 450 * 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.001541/0.6335, allocations: 0.756 MB / 0.5113 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.634, allocations: 205.8 kB / 0.5115 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009164/0.6432, allocations: 5.174 MB / 0.5165 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/0.6433, allocations: 43.98 kB / 0.5166 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.6433, allocations: 2.906 kB / 0.5166 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.043e-05/0.6433, allocations: 23.92 kB / 0.5166 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/0.649, allocations: 2.815 MB / 0.5193 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.6491, allocations: 3.953 kB / 0.5194 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003754/0.6528, allocations: 0.7327 MB / 0.5201 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.569e-05/0.6529, allocations: 12 kB / 0.5201 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000433/0.6534, allocations: 97.27 kB / 0.5202 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-05/0.6534, allocations: 16 kB / 0.5202 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6534, allocations: 1.969 kB / 0.5202 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.6646, allocations: 7.172 MB / 0.5272 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.6657, allocations: 359.2 kB / 0.5275 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/0.6662, allocations: 73.17 kB / 0.5276 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003406/0.6696, allocations: 304.5 kB / 0.5279 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006379/0.6703, allocations: 313.1 kB / 0.5282 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005151/0.6708, allocations: 177 kB / 0.5284 GB, free: 7.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009368/0.6717, allocations: 0.6778 MB / 0.529 GB, free: 6.922 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6718, allocations: 0 / 0.529 GB, free: 6.922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003202/0.675, allocations: 1.085 MB / 0.5301 GB, free: 5.957 MB / 430.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 (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.001575/0.6766, allocations: 461.7 kB / 0.5305 GB, free: 5.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007043/0.6836, allocations: 4.247 MB / 0.5347 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.6836, allocations: 8.938 kB / 0.5347 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.6871, allocations: 2.252 MB / 0.5369 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/0.6928, allocations: 1.169 MB / 0.538 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.7066, allocations: 7.753 MB / 0.5456 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.7085, allocations: 1.889 MB / 0.5474 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007215/0.7158, allocations: 1.771 MB / 0.5492 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/0.7176, allocations: 285 kB / 0.5494 GB, free: 4.613 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7176, allocations: 0 / 0.5494 GB, free: 4.613 MB / 446.1 MB Notification: Performance of Templates: time 0.08871/0.8064, allocations: 58.28 MB / 0.6063 GB, free: 10.46 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.PsychrometricData.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: