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.001119/0.001119, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001061/0.001061, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.388/1.388, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001228/0.001228, allocations: 47.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08906, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3361/0.4252, allocations: 153.1 MB / 0.5152 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.4271, allocations: 0.9566 MB / 0.5162 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.4273, allocations: 4 kB / 0.5162 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.4277, allocations: 71.5 kB / 0.5162 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005907/0.4283, allocations: 298.6 kB / 0.5165 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.4316, allocations: 1.302 MB / 0.5178 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004438/0.4361, allocations: 5.605 MB / 0.5233 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.4364, allocations: 256.9 kB / 0.5235 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.4394, allocations: 2.177 MB / 0.5256 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.4422, allocations: 1.967 MB / 0.5276 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005516/0.4428, allocations: 236 kB / 0.5278 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.4469, allocations: 1.935 MB / 0.5297 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.4484, allocations: 1.22 MB / 0.5309 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002507/0.4509, allocations: 1.561 MB / 0.5324 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007061/0.458, allocations: 4.632 MB / 0.5369 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.458, allocations: 0 / 0.5369 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.458, allocations: 0 / 0.5369 GB, free: 15.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.326e-05/0.4581, allocations: 0 / 0.5369 GB, free: 15.7 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.01087/0.469, allocations: 3.515 MB / 0.5403 GB, free: 12.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.732e-05/0.469, allocations: 15.97 kB / 0.5404 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.4712, allocations: 329.2 kB / 0.5407 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.4746, allocations: 1.336 MB / 0.542 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.4748, allocations: 184.9 kB / 0.5422 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/0.4753, allocations: 239.9 kB / 0.5424 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006394/0.4817, allocations: 3.831 MB / 0.5461 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.4818, allocations: 0 / 0.5461 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003829/0.4822, allocations: 112 kB / 0.5462 GB, free: 5.996 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.4822, allocations: 60 kB / 0.5463 GB, free: 5.938 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2061/0.6883, allocations: 5.982 MB / 0.5521 GB, free: 164.8 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.02562/0.714, allocations: 11.21 MB / 0.5631 GB, free: 159.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009054/0.7231, allocations: 5.038 MB / 0.568 GB, free: 157.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004762/0.7279, allocations: 2.4 MB / 0.5703 GB, free: 156.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007682/0.7287, allocations: 440.9 kB / 0.5708 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.7289, allocations: 101.2 kB / 0.5709 GB, free: 156.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.362e-06/0.7289, allocations: 0 / 0.5709 GB, free: 156.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009942/0.7388, allocations: 5.809 MB / 0.5765 GB, free: 154.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.7389, allocations: 94.97 kB / 0.5766 GB, free: 154 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.74, allocations: 0.8766 MB / 0.5775 GB, free: 153.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004923/0.7405, allocations: 103.7 kB / 0.5776 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.7407, allocations: 0.5141 MB / 0.5781 GB, free: 153 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007577/0.7415, allocations: 1.304 MB / 0.5794 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007393/0.7422, allocations: 0.6269 MB / 0.58 GB, free: 151.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.7423, allocations: 356.8 kB / 0.5803 GB, free: 151.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.7447, allocations: 1.749 MB / 0.582 GB, free: 150.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.7472, allocations: 2.257 MB / 0.5842 GB, free: 149.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005074/0.7523, allocations: 4.33 MB / 0.5884 GB, free: 145.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.7524, allocations: 5.969 kB / 0.5885 GB, free: 145.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006181/0.7586, allocations: 4.598 MB / 0.5929 GB, free: 140.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.7586, allocations: 8 kB / 0.593 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.7586, allocations: 12 kB / 0.593 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-05/0.7587, allocations: 28 kB / 0.593 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/0.762, allocations: 0.7843 MB / 0.5938 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.884e-05/0.762, allocations: 35.92 kB / 0.5938 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.7642, allocations: 356.7 kB / 0.5941 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.7644, allocations: 147.9 kB / 0.5943 GB, free: 139.5 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.001238/0.7657, allocations: 0.7621 MB / 0.595 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000515/0.7662, allocations: 213.7 kB / 0.5952 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007514/0.7737, allocations: 5.172 MB / 0.6003 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.7738, allocations: 40 kB / 0.6003 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7738, allocations: 0 / 0.6003 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/0.7738, allocations: 20.8 kB / 0.6003 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.7782, allocations: 2.823 MB / 0.6031 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/0.7783, allocations: 0 / 0.6031 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004504/0.7828, allocations: 0.7294 MB / 0.6038 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/0.7829, allocations: 16 kB / 0.6038 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007597/0.7837, allocations: 99.95 kB / 0.6039 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-05/0.7837, allocations: 12.69 kB / 0.6039 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7837, allocations: 0 / 0.6039 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009864/0.7936, allocations: 7.214 MB / 0.611 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/0.7944, allocations: 326 kB / 0.6113 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003915/0.7948, allocations: 79.84 kB / 0.6114 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/0.7978, allocations: 222 kB / 0.6116 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005595/0.7983, allocations: 318.9 kB / 0.6119 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003277/0.7987, allocations: 175.9 kB / 0.612 GB, free: 121.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007247/0.7994, allocations: 0.6863 MB / 0.6127 GB, free: 120.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7994, allocations: 0 / 0.6127 GB, free: 120.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002341/0.8018, allocations: 1.083 MB / 0.6138 GB, free: 119.4 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.001048/0.8028, allocations: 465 kB / 0.6142 GB, free: 119 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005608/0.8084, allocations: 4.301 MB / 0.6184 GB, free: 114.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.8085, allocations: 9.812 kB / 0.6184 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.811, allocations: 2.275 MB / 0.6206 GB, free: 112.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/0.816, allocations: 1.251 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.009707/0.8257, allocations: 6.638 MB / 0.6283 GB, free: 104.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008933/0.8266, allocations: 1.848 MB / 0.6301 GB, free: 102.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004389/0.831, allocations: 1.775 MB / 0.6319 GB, free: 100.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009255/0.832, allocations: 299.3 kB / 0.6322 GB, free: 100.5 MB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/0.832, allocations: 0 / 0.6322 GB, free: 100.5 MB / 478.1 MB Notification: Performance of Templates: time 0.07516/0.9071, allocations: 64.57 MB / 0.6952 GB, free: 35.81 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)