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.001704/0.001704, allocations: 109.6 kB / 17.06 MB, free: 6.023 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.001935/0.001935, allocations: 191 kB / 18 MB, free: 5.105 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.409/1.409, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.001376/0.001376, allocations: 51.94 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08782, allocations: 46.61 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.358/0.4458, allocations: 153.1 MB / 0.5152 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.4476, allocations: 0.9526 MB / 0.5162 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.4477, allocations: 0 / 0.5162 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.4482, allocations: 79.5 kB / 0.5162 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006443/0.4489, allocations: 294.6 kB / 0.5165 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.453, allocations: 1.321 MB / 0.5178 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.4577, allocations: 5.605 MB / 0.5233 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.4582, allocations: 256 kB / 0.5235 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004654/0.4628, allocations: 2.23 MB / 0.5257 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004314/0.4672, allocations: 1.975 MB / 0.5276 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.4684, allocations: 236 kB / 0.5279 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.474, allocations: 1.931 MB / 0.5297 GB, free: 7.203 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.4764, allocations: 1.228 MB / 0.5309 GB, free: 5.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.4796, allocations: 1.561 MB / 0.5325 GB, free: 4.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007006/0.4866, allocations: 4.625 MB / 0.537 GB, free: 15.77 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4867, allocations: 0 / 0.537 GB, free: 15.77 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4867, allocations: 0 / 0.537 GB, free: 15.77 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001125/0.4868, allocations: 0 / 0.537 GB, free: 15.77 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.01014/0.4969, allocations: 3.519 MB / 0.5404 GB, free: 12.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.497, allocations: 12.03 kB / 0.5404 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.499, allocations: 327.1 kB / 0.5407 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.5018, allocations: 1.332 MB / 0.542 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.502, allocations: 184.9 kB / 0.5422 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/0.5025, allocations: 239.9 kB / 0.5425 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/0.5094, allocations: 3.827 MB / 0.5462 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.5094, allocations: 0 / 0.5462 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004135/0.5099, allocations: 120 kB / 0.5463 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/0.5099, allocations: 56 kB / 0.5464 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009821/0.5197, allocations: 5.986 MB / 0.5522 GB, free: 12 kB / 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.2075/0.7272, allocations: 11.21 MB / 0.5631 GB, free: 159.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007262/0.7345, allocations: 5.031 MB / 0.5681 GB, free: 157.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/0.7382, allocations: 2.412 MB / 0.5704 GB, free: 157.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.7388, allocations: 439.5 kB / 0.5708 GB, free: 156.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.008e-05/0.7389, allocations: 94.34 kB / 0.5709 GB, free: 156.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 7.103e-06/0.7389, allocations: 0 / 0.5709 GB, free: 156.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01019/0.7491, allocations: 5.817 MB / 0.5766 GB, free: 154.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.7492, allocations: 91.16 kB / 0.5767 GB, free: 154.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.7503, allocations: 0.8757 MB / 0.5775 GB, free: 153.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005164/0.7508, allocations: 101.1 kB / 0.5776 GB, free: 153.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.7511, allocations: 0.5201 MB / 0.5782 GB, free: 153.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009338/0.752, allocations: 1.304 MB / 0.5794 GB, free: 152.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009848/0.753, allocations: 0.6272 MB / 0.58 GB, free: 151.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.7531, allocations: 356.8 kB / 0.5804 GB, free: 151.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/0.7557, allocations: 1.749 MB / 0.5821 GB, free: 150.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.7586, allocations: 2.256 MB / 0.5843 GB, free: 149.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005594/0.7642, allocations: 4.332 MB / 0.5885 GB, free: 145.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.7642, allocations: 4 kB / 0.5885 GB, free: 145.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006848/0.7711, allocations: 4.591 MB / 0.593 GB, free: 141.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.7712, allocations: 15.94 kB / 0.593 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.7712, allocations: 8 kB / 0.593 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.7712, allocations: 28 kB / 0.5931 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/0.7747, allocations: 0.7922 MB / 0.5938 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.208e-05/0.7748, allocations: 31.94 kB / 0.5939 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.7774, allocations: 356.7 kB / 0.5942 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004783/0.7779, allocations: 152.1 kB / 0.5943 GB, free: 139.7 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.001998/0.7799, allocations: 0.7588 MB / 0.5951 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009327/0.7808, allocations: 213.7 kB / 0.5953 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009132/0.79, allocations: 5.17 MB / 0.6003 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.79, allocations: 40 kB / 0.6004 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.7901, allocations: 0 / 0.6004 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.971e-05/0.7901, allocations: 23.92 kB / 0.6004 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005035/0.7952, allocations: 2.821 MB / 0.6032 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-05/0.7952, allocations: 0 / 0.6032 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/0.7984, allocations: 0.7294 MB / 0.6039 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-05/0.7985, allocations: 15.94 kB / 0.6039 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003523/0.7989, allocations: 99.95 kB / 0.604 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.381e-05/0.7989, allocations: 16 kB / 0.604 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7989, allocations: 3.938 kB / 0.604 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009551/0.8085, allocations: 7.217 MB / 0.611 GB, free: 122.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/0.8091, allocations: 314 kB / 0.6113 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005201/0.8096, allocations: 91.52 kB / 0.6114 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/0.8125, allocations: 220.8 kB / 0.6116 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006518/0.8132, allocations: 310.9 kB / 0.6119 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006028/0.8138, allocations: 179.9 kB / 0.6121 GB, free: 121.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009263/0.8148, allocations: 0.6824 MB / 0.6128 GB, free: 120.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8148, allocations: 0 / 0.6128 GB, free: 120.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003959/0.8188, allocations: 1.084 MB / 0.6138 GB, free: 119.6 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.002255/0.821, allocations: 476.3 kB / 0.6143 GB, free: 119.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008667/0.8297, allocations: 4.301 MB / 0.6185 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.8298, allocations: 9.188 kB / 0.6185 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003675/0.8335, allocations: 2.271 MB / 0.6207 GB, free: 112.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00558/0.8391, allocations: 1.245 MB / 0.6219 GB, free: 111.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.8497, allocations: 6.638 MB / 0.6284 GB, free: 104.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.8508, allocations: 1.845 MB / 0.6302 GB, free: 102.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005273/0.8561, allocations: 1.775 MB / 0.632 GB, free: 101 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/0.8576, allocations: 295.3 kB / 0.6322 GB, free: 100.7 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8576, allocations: 4 kB / 0.6322 GB, free: 100.7 MB / 478.1 MB Notification: Performance of Templates: time 0.08289/0.9405, allocations: 64.57 MB / 0.6953 GB, free: 36.03 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)