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.001071/0.001071, allocations: 101.9 kB / 16.62 MB, free: 6.809 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.001074/0.001074, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.278/1.278, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001118/0.001118, allocations: 51.92 kB / 279.5 MB, free: 3.52 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.08544, allocations: 46.64 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3095/0.395, allocations: 151 MB / 477.1 MB, free: 464 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3967, allocations: 0.971 MB / 478.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.3968, allocations: 3.938 kB / 478.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.3972, allocations: 67.62 kB / 478.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.3978, allocations: 270.9 kB / 478.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.401, allocations: 1.19 MB / 479.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004549/0.4056, allocations: 5.62 MB / 485.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.4059, allocations: 260 kB / 485.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.4089, allocations: 2.252 MB / 487.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.4116, allocations: 2.084 MB / 489.8 MB, free: 3.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004803/0.4121, allocations: 240 kB / 490.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.4154, allocations: 1.895 MB / 492 MB, free: 1.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.4167, allocations: 1.22 MB / 493.2 MB, free: 364 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.4189, allocations: 1.561 MB / 494.7 MB, free: 14.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005323/0.4242, allocations: 4.629 MB / 499.4 MB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4243, allocations: 3.984 kB / 499.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4243, allocations: 4 kB / 499.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.818e-05/0.4244, allocations: 0 / 499.4 MB, free: 10.14 MB / 398.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.009152/0.4335, allocations: 3.515 MB / 0.4911 GB, free: 6.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4336, allocations: 8.031 kB / 0.4911 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.4354, allocations: 322.2 kB / 0.4914 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.4376, allocations: 1.328 MB / 0.4927 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.4378, allocations: 184.9 kB / 0.4929 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003823/0.4381, allocations: 236 kB / 0.4931 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006394/0.4445, allocations: 3.823 MB / 0.4968 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.4446, allocations: 0 / 0.4968 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/0.445, allocations: 112 kB / 0.4969 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.445, allocations: 67.45 kB / 0.497 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009372/0.4544, allocations: 5.982 MB / 0.5029 GB, free: 10.41 MB / 414.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.02085/0.4753, allocations: 11.18 MB / 0.5138 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.4825, allocations: 5.042 MB / 0.5187 GB, free: 9.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/0.486, allocations: 2.404 MB / 0.521 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/0.4867, allocations: 439.3 kB / 0.5215 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.761e-05/0.4868, allocations: 90.62 kB / 0.5215 GB, free: 6.309 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.48e-06/0.4869, allocations: 4 kB / 0.5216 GB, free: 6.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.01053/0.4974, allocations: 5.816 MB / 0.5272 GB, free: 476 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.4975, allocations: 98.47 kB / 0.5273 GB, free: 364 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4987, allocations: 0.8751 MB / 0.5282 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004811/0.4992, allocations: 105.7 kB / 0.5283 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.4996, allocations: 0.511 MB / 0.5288 GB, free: 14.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.5007, allocations: 1.309 MB / 0.5301 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008869/0.5016, allocations: 0.6254 MB / 0.5307 GB, free: 12.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5017, allocations: 353.9 kB / 0.531 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/0.5044, allocations: 1.748 MB / 0.5327 GB, free: 10.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/0.5077, allocations: 2.254 MB / 0.5349 GB, free: 8.375 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006138/0.5138, allocations: 4.337 MB / 0.5392 GB, free: 3.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.5139, allocations: 4 kB / 0.5392 GB, free: 3.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1559/0.6698, allocations: 4.578 MB / 0.5436 GB, free: 175.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.6699, allocations: 10.33 kB / 0.5436 GB, free: 175.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.6699, allocations: 14.91 kB / 0.5436 GB, free: 175.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-05/0.6699, allocations: 26.12 kB / 0.5437 GB, free: 175.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/0.674, allocations: 0.7908 MB / 0.5444 GB, free: 175.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.413e-05/0.6741, allocations: 36.55 kB / 0.5445 GB, free: 175.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.6767, allocations: 421.4 kB / 0.5449 GB, free: 175.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002892/0.677, allocations: 147.4 kB / 0.545 GB, free: 175.7 MB / 446.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.001317/0.6783, allocations: 0.7591 MB / 0.5458 GB, free: 175.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005544/0.6789, allocations: 211.3 kB / 0.546 GB, free: 175.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009003/0.6879, allocations: 5.175 MB / 0.551 GB, free: 174.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/0.688, allocations: 41.12 kB / 0.5511 GB, free: 174.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.688, allocations: 4.953 kB / 0.5511 GB, free: 174.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/0.688, allocations: 20.16 kB / 0.5511 GB, free: 174.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/0.6925, allocations: 2.826 MB / 0.5538 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.6925, allocations: 0 / 0.5538 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/0.6959, allocations: 0.7289 MB / 0.5546 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.73e-05/0.696, allocations: 13.88 kB / 0.5546 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002951/0.6963, allocations: 94.73 kB / 0.5547 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-05/0.6963, allocations: 13.06 kB / 0.5547 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6963, allocations: 1.219 kB / 0.5547 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008851/0.7052, allocations: 7.22 MB / 0.5617 GB, free: 170.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.7057, allocations: 316.8 kB / 0.562 GB, free: 170.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/0.7061, allocations: 86.52 kB / 0.5621 GB, free: 170.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/0.7091, allocations: 292 kB / 0.5624 GB, free: 170 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.7096, allocations: 312.6 kB / 0.5627 GB, free: 169.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/0.7099, allocations: 179.8 kB / 0.5629 GB, free: 169.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006371/0.7106, allocations: 0.6872 MB / 0.5635 GB, free: 169.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.51e-07/0.7106, allocations: 0 / 0.5635 GB, free: 169.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002249/0.7128, allocations: 1.087 MB / 0.5646 GB, free: 169 MB / 446.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.001028/0.7139, allocations: 468.7 kB / 0.565 GB, free: 168.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02253/0.7364, allocations: 15.28 MB / 0.58 GB, free: 153.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.7364, allocations: 9 kB / 0.58 GB, free: 153.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.7391, allocations: 2.263 MB / 0.5822 GB, free: 151.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005222/0.7444, allocations: 1.255 MB / 0.5834 GB, free: 149.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009817/0.7542, allocations: 7.639 MB / 0.5909 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.7551, allocations: 1.848 MB / 0.5927 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004783/0.7599, allocations: 1.756 MB / 0.5944 GB, free: 138.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009402/0.7609, allocations: 299.3 kB / 0.5947 GB, free: 138.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7609, allocations: 0 / 0.5947 GB, free: 138.3 MB / 446.1 MB Notification: Performance of Templates: time 0.06905/0.8299, allocations: 63.26 MB / 0.6565 GB, free: 74.91 MB / 446.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)