Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001127/0.001127, allocations: 104 kB / 17.06 MB, free: 6.027 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.001144/0.001144, allocations: 196 kB / 18 MB, free: 5.109 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.345/1.345, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001258/0.001258, allocations: 55.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09017/0.09144, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3728/0.4643, allocations: 153.1 MB / 0.5152 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.4658, allocations: 0.9449 MB / 0.5162 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.4659, allocations: 7.938 kB / 0.5162 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.4663, allocations: 79.48 kB / 0.5162 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000587/0.4669, allocations: 294.6 kB / 0.5165 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.4704, allocations: 1.311 MB / 0.5178 GB, free: 3.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004674/0.475, allocations: 5.597 MB / 0.5233 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.4754, allocations: 256.9 kB / 0.5235 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.4787, allocations: 2.234 MB / 0.5257 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.482, allocations: 1.971 MB / 0.5276 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006922/0.4827, allocations: 236 kB / 0.5278 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.487, allocations: 1.935 MB / 0.5297 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.4885, allocations: 1.228 MB / 0.5309 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002783/0.4913, allocations: 1.557 MB / 0.5325 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007749/0.4991, allocations: 4.629 MB / 0.537 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4991, allocations: 0 / 0.537 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4991, allocations: 0 / 0.537 GB, free: 15.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001281/0.4993, allocations: 0 / 0.537 GB, free: 15.62 MB / 478.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.01065/0.5099, allocations: 3.515 MB / 0.5404 GB, free: 12.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.51, allocations: 8.031 kB / 0.5404 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.512, allocations: 326.2 kB / 0.5407 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.5156, allocations: 1.347 MB / 0.542 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.5158, allocations: 176.9 kB / 0.5422 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005369/0.5163, allocations: 243.9 kB / 0.5424 GB, free: 9.914 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00759/0.5239, allocations: 3.831 MB / 0.5462 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.524, allocations: 0 / 0.5462 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.5244, allocations: 116 kB / 0.5463 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/0.5245, allocations: 58.94 kB / 0.5464 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.201/0.7255, allocations: 5.983 MB / 0.5522 GB, free: 164.9 MB / 478.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.02616/0.7518, allocations: 11.2 MB / 0.5631 GB, free: 159.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009032/0.7608, allocations: 5.04 MB / 0.5681 GB, free: 157.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004218/0.7651, allocations: 2.405 MB / 0.5704 GB, free: 157 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/0.7657, allocations: 439.4 kB / 0.5708 GB, free: 156.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.7659, allocations: 97.72 kB / 0.5709 GB, free: 156.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.651e-06/0.7659, allocations: 4.672 kB / 0.5709 GB, free: 156.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01031/0.7762, allocations: 5.805 MB / 0.5766 GB, free: 154.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.7763, allocations: 99.34 kB / 0.5767 GB, free: 154.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.7775, allocations: 0.8716 MB / 0.5775 GB, free: 153.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004771/0.778, allocations: 105.1 kB / 0.5776 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.7782, allocations: 0.5172 MB / 0.5781 GB, free: 153.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008342/0.7791, allocations: 1.302 MB / 0.5794 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008164/0.7799, allocations: 0.6237 MB / 0.58 GB, free: 151.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.78, allocations: 357 kB / 0.5804 GB, free: 151.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/0.7823, allocations: 1.747 MB / 0.5821 GB, free: 150.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.7847, allocations: 2.26 MB / 0.5843 GB, free: 149.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00505/0.7898, allocations: 4.327 MB / 0.5885 GB, free: 145.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.7898, allocations: 5.969 kB / 0.5885 GB, free: 145.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006522/0.7963, allocations: 4.594 MB / 0.593 GB, free: 140.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.7964, allocations: 13.53 kB / 0.593 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.7964, allocations: 8 kB / 0.593 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-05/0.7965, allocations: 28 kB / 0.593 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/0.7999, allocations: 0.7962 MB / 0.5938 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.339e-05/0.8, allocations: 31.94 kB / 0.5938 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.8026, allocations: 352.7 kB / 0.5942 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/0.8031, allocations: 143.9 kB / 0.5943 GB, free: 139.4 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.001529/0.8046, allocations: 0.7621 MB / 0.5951 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005959/0.8052, allocations: 221.7 kB / 0.5953 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007416/0.8126, allocations: 5.161 MB / 0.6003 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.8127, allocations: 40 kB / 0.6004 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.8127, allocations: 0 / 0.6004 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.8127, allocations: 27.91 kB / 0.6004 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.8164, allocations: 2.822 MB / 0.6031 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.8164, allocations: 0 / 0.6031 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003119/0.8196, allocations: 0.741 MB / 0.6039 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.694e-05/0.8196, allocations: 12.88 kB / 0.6039 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/0.8198, allocations: 91.97 kB / 0.604 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.705e-05/0.8199, allocations: 16 kB / 0.604 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.8199, allocations: 0 / 0.604 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008635/0.8285, allocations: 7.217 MB / 0.611 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006024/0.8292, allocations: 318 kB / 0.6113 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/0.8295, allocations: 83.83 kB / 0.6114 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002817/0.8323, allocations: 222.5 kB / 0.6116 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004832/0.8328, allocations: 310.9 kB / 0.6119 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003355/0.8332, allocations: 179.9 kB / 0.6121 GB, free: 121.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006818/0.8339, allocations: 0.6824 MB / 0.6128 GB, free: 120.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8339, allocations: 0 / 0.6128 GB, free: 120.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002199/0.8361, allocations: 1.083 MB / 0.6138 GB, free: 119.3 MB / 478.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.001097/0.8372, allocations: 472.3 kB / 0.6143 GB, free: 118.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005705/0.8429, allocations: 4.313 MB / 0.6185 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.8429, allocations: 5 kB / 0.6185 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002644/0.8456, allocations: 2.263 MB / 0.6207 GB, free: 112.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006497/0.8521, allocations: 1.256 MB / 0.6219 GB, free: 111.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.8639, allocations: 6.642 MB / 0.6284 GB, free: 104.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.8651, allocations: 1.845 MB / 0.6302 GB, free: 102.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005424/0.8705, allocations: 1.768 MB / 0.6319 GB, free: 100.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.8716, allocations: 299.3 kB / 0.6322 GB, free: 100.5 MB / 478.1 MB Notification: Performance of SimCode: time 8.81e-07/0.8716, allocations: 0 / 0.6322 GB, free: 100.5 MB / 478.1 MB Notification: Performance of Templates: time 0.07483/0.9465, allocations: 65.34 MB / 0.696 GB, free: 34.98 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)