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.009655/0.009655, allocations: 102 kB / 15.73 MB, free: 5.516 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.00193/0.00193, allocations: 195.2 kB / 16.67 MB, free: 5.449 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.336 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.001274/0.001274, allocations: 53.69 kB / 326.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 46.62 MB / 373.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4083/0.5113, allocations: 153.1 MB / 0.5139 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.5133, allocations: 0.9608 MB / 0.5149 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.5136, allocations: 2.094 kB / 0.5149 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.5141, allocations: 75.78 kB / 0.515 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000987/0.5152, allocations: 296.6 kB / 0.5152 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.5195, allocations: 1.318 MB / 0.5165 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005459/0.525, allocations: 5.601 MB / 0.522 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.5254, allocations: 260 kB / 0.5222 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.5297, allocations: 2.234 MB / 0.5244 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.5335, allocations: 1.963 MB / 0.5263 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.5346, allocations: 243.9 kB / 0.5266 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/0.5393, allocations: 1.932 MB / 0.5285 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001842/0.5411, allocations: 1.216 MB / 0.5297 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003494/0.5446, allocations: 1.565 MB / 0.5312 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006719/0.5514, allocations: 4.646 MB / 0.5357 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5514, allocations: 4 kB / 0.5357 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5514, allocations: 0 / 0.5357 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.5516, allocations: 0 / 0.5357 GB, free: 0.5742 MB / 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.01047/0.562, allocations: 3.572 MB / 0.5392 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5621, allocations: 11.78 kB / 0.5392 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.5641, allocations: 339.4 kB / 0.5395 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.5677, allocations: 1.348 MB / 0.5409 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.5679, allocations: 180.9 kB / 0.541 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005034/0.5684, allocations: 240 kB / 0.5413 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00693/0.5753, allocations: 3.823 MB / 0.545 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.5754, allocations: 4 kB / 0.545 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003521/0.5758, allocations: 112 kB / 0.5451 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.5758, allocations: 60 kB / 0.5452 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009154/0.585, allocations: 5.978 MB / 0.551 GB, free: 0.7461 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.02279/0.6078, allocations: 11.23 MB / 0.562 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00815/0.616, allocations: 5.042 MB / 0.5669 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004095/0.6201, allocations: 2.404 MB / 0.5692 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008185/0.621, allocations: 439.2 kB / 0.5697 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.6212, allocations: 94.62 kB / 0.5698 GB, free: 12.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 6.542e-06/0.6212, allocations: 0 / 0.5698 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01136/0.6326, allocations: 5.821 MB / 0.5754 GB, free: 6.742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.6327, allocations: 90.47 kB / 0.5755 GB, free: 6.641 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6338, allocations: 0.8751 MB / 0.5764 GB, free: 5.758 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004516/0.6343, allocations: 105.7 kB / 0.5765 GB, free: 5.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.6346, allocations: 0.5281 MB / 0.577 GB, free: 5.113 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.6358, allocations: 1.375 MB / 0.5783 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008994/0.6367, allocations: 0.6216 MB / 0.5789 GB, free: 3.098 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6368, allocations: 361.9 kB / 0.5793 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.6395, allocations: 1.744 MB / 0.581 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/0.6425, allocations: 2.258 MB / 0.5832 GB, free: 14.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/0.6487, allocations: 4.329 MB / 0.5874 GB, free: 10.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.6487, allocations: 4 kB / 0.5874 GB, free: 10.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007555/0.6563, allocations: 4.6 MB / 0.5919 GB, free: 5.445 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.6563, allocations: 8 kB / 0.5919 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.6563, allocations: 12 kB / 0.5919 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.626e-05/0.6564, allocations: 28 kB / 0.592 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/0.6599, allocations: 0.792 MB / 0.5927 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.773e-05/0.6599, allocations: 39.8 kB / 0.5928 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.6622, allocations: 369.5 kB / 0.5931 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.6626, allocations: 151.9 kB / 0.5933 GB, free: 4.055 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.001521/0.6641, allocations: 0.7582 MB / 0.594 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000637/0.6648, allocations: 214.8 kB / 0.5942 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008806/0.6736, allocations: 5.174 MB / 0.5993 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/0.6736, allocations: 40 kB / 0.5993 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.6736, allocations: 4.812 kB / 0.5993 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/0.6737, allocations: 19.92 kB / 0.5993 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.6781, allocations: 2.823 MB / 0.6021 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.6781, allocations: 0 / 0.6021 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/0.6817, allocations: 0.7255 MB / 0.6028 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.891e-05/0.6818, allocations: 16 kB / 0.6028 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/0.6821, allocations: 95.95 kB / 0.6029 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.875e-05/0.6822, allocations: 19.94 kB / 0.6029 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6822, allocations: 6.047 kB / 0.6029 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.6931, allocations: 7.227 MB / 0.61 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.6939, allocations: 330.9 kB / 0.6103 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000448/0.6943, allocations: 75.95 kB / 0.6104 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/0.6973, allocations: 223.8 kB / 0.6106 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006237/0.698, allocations: 318.9 kB / 0.6109 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004255/0.6984, allocations: 183.8 kB / 0.6111 GB, free: 1.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009441/0.6994, allocations: 0.6824 MB / 0.6117 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6994, allocations: 0 / 0.6117 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002498/0.7019, allocations: 1.094 MB / 0.6128 GB, free: 15.89 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.001252/0.7031, allocations: 483.8 kB / 0.6133 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006864/0.71, allocations: 4.301 MB / 0.6175 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/0.7101, allocations: 9 kB / 0.6175 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003449/0.7135, allocations: 2.272 MB / 0.6197 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/0.7196, allocations: 1.233 MB / 0.6209 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.7324, allocations: 6.704 MB / 0.6274 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.734, allocations: 1.852 MB / 0.6292 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005378/0.7394, allocations: 1.775 MB / 0.631 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.7405, allocations: 295.3 kB / 0.6313 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/0.7405, allocations: 0 / 0.6313 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.3172/1.058, allocations: 64.57 MB / 0.6943 GB, free: 87.4 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)