Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.008815/0.008815, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.001975/0.001975, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001105/0.001105, allocations: 49.66 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08089/0.08201, allocations: 46.61 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3675/0.4496, allocations: 153.1 MB / 0.514 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.4513, allocations: 0.9549 MB / 0.5149 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.4515, allocations: 2.906 kB / 0.5149 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.452, allocations: 79.16 kB / 0.515 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007008/0.4527, allocations: 295.1 kB / 0.5152 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.4571, allocations: 1.307 MB / 0.5165 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005165/0.4623, allocations: 5.597 MB / 0.522 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.4629, allocations: 260 kB / 0.5222 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004459/0.4673, allocations: 2.175 MB / 0.5244 GB, free: 12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004225/0.4716, allocations: 1.963 MB / 0.5263 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001415/0.4731, allocations: 236 kB / 0.5265 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006005/0.4791, allocations: 1.935 MB / 0.5284 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002273/0.4814, allocations: 1.228 MB / 0.5296 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002933/0.4843, allocations: 1.557 MB / 0.5311 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006444/0.4908, allocations: 4.645 MB / 0.5356 GB, free: 428 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4908, allocations: 3.938 kB / 0.5356 GB, free: 424 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4909, allocations: 0 / 0.5356 GB, free: 424 kB / 414.1 MB Notification: Performance of Transformations before backend: time 9.615e-05/0.491, allocations: 0 / 0.5356 GB, free: 424 kB / 414.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.009041/0.5, allocations: 3.569 MB / 0.5391 GB, free: 12.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5001, allocations: 12.03 kB / 0.5391 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.5019, allocations: 339.4 kB / 0.5395 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.5043, allocations: 1.34 MB / 0.5408 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.5045, allocations: 184.9 kB / 0.541 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.5049, allocations: 240 kB / 0.5412 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/0.5113, allocations: 3.819 MB / 0.5449 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.5114, allocations: 3.125 kB / 0.5449 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/0.5117, allocations: 116 kB / 0.545 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.5118, allocations: 59.98 kB / 0.5451 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008849/0.5206, allocations: 5.982 MB / 0.5509 GB, free: 0.5898 MB / 430.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.02038/0.5411, allocations: 11.24 MB / 0.5619 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007342/0.5484, allocations: 5.034 MB / 0.5668 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003733/0.5522, allocations: 2.401 MB / 0.5692 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/0.5529, allocations: 443.3 kB / 0.5696 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.553, allocations: 98.61 kB / 0.5697 GB, free: 12.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 7.745e-06/0.553, allocations: 0 / 0.5697 GB, free: 12.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01044/0.5635, allocations: 5.817 MB / 0.5754 GB, free: 6.586 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5637, allocations: 94.47 kB / 0.5755 GB, free: 6.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.5651, allocations: 0.8841 MB / 0.5763 GB, free: 5.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005237/0.5657, allocations: 97.7 kB / 0.5764 GB, free: 5.488 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.5662, allocations: 0.5281 MB / 0.5769 GB, free: 4.953 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001704/0.5679, allocations: 1.375 MB / 0.5783 GB, free: 3.566 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.569, allocations: 0.6216 MB / 0.5789 GB, free: 2.938 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.5692, allocations: 357.9 kB / 0.5792 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.5721, allocations: 1.748 MB / 0.5809 GB, free: 0.832 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003207/0.5753, allocations: 2.258 MB / 0.5831 GB, free: 14.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006379/0.5817, allocations: 4.333 MB / 0.5874 GB, free: 9.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5817, allocations: 4 kB / 0.5874 GB, free: 9.906 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007483/0.5892, allocations: 4.594 MB / 0.5918 GB, free: 5.285 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.5892, allocations: 12.97 kB / 0.5919 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.5893, allocations: 15.98 kB / 0.5919 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/0.5893, allocations: 26.62 kB / 0.5919 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/0.5928, allocations: 0.7918 MB / 0.5927 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.613e-05/0.5928, allocations: 39.86 kB / 0.5927 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.595, allocations: 365.5 kB / 0.5931 GB, free: 4.043 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.5953, allocations: 143.9 kB / 0.5932 GB, free: 3.902 MB / 478.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.001467/0.5968, allocations: 0.7621 MB / 0.5939 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/0.5973, allocations: 214.8 kB / 0.5941 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008787/0.6061, allocations: 5.167 MB / 0.5992 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/0.6062, allocations: 40 kB / 0.5992 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.6062, allocations: 7.938 kB / 0.5992 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.265e-05/0.6062, allocations: 19.92 kB / 0.5993 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.6104, allocations: 2.819 MB / 0.602 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.6104, allocations: 4 kB / 0.602 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/0.6136, allocations: 0.7294 MB / 0.6027 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-05/0.6137, allocations: 12 kB / 0.6027 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/0.6139, allocations: 96.83 kB / 0.6028 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.922e-05/0.6139, allocations: 16 kB / 0.6028 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6139, allocations: 3.938 kB / 0.6028 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.6246, allocations: 7.23 MB / 0.6099 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/0.6254, allocations: 326.9 kB / 0.6102 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/0.6259, allocations: 79.94 kB / 0.6103 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/0.6288, allocations: 224.6 kB / 0.6105 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006381/0.6294, allocations: 318.8 kB / 0.6108 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004049/0.6298, allocations: 179.9 kB / 0.611 GB, free: 1.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009117/0.6308, allocations: 0.6785 MB / 0.6117 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6308, allocations: 0 / 0.6117 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002563/0.6333, allocations: 1.104 MB / 0.6127 GB, free: 15.73 MB / 0.4981 GB 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.001388/0.6348, allocations: 482 kB / 0.6132 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008034/0.6428, allocations: 4.304 MB / 0.6174 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.6429, allocations: 5 kB / 0.6174 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003697/0.6466, allocations: 2.263 MB / 0.6196 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00608/0.6527, allocations: 1.244 MB / 0.6208 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.6651, allocations: 6.704 MB / 0.6274 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.6665, allocations: 1.848 MB / 0.6292 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00505/0.6715, allocations: 1.771 MB / 0.6309 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.6726, allocations: 291.3 kB / 0.6312 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of SimCode: time 1.143e-06/0.6727, allocations: 0 / 0.6312 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.2926/0.9653, allocations: 64.57 MB / 0.6942 GB, free: 173.9 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.1_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)