Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) 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(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007195/0.007195, allocations: 101 kB / 15.73 MB, free: 6.062 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.00131/0.00131, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2693/0.2693, allocations: 54.96 MB / 324.9 MB, free: 4.84 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.88 kB / 456.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1535, allocations: 59.6 MB / 0.5037 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002938/0.1565, allocations: 1.474 MB / 0.5051 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.5417/0.6982, allocations: 132.1 MB / 0.6341 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.6984, allocations: 4 kB / 0.6341 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.836e-05/0.6986, allocations: 3.938 kB / 0.6341 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.6987, allocations: 11.88 kB / 0.6341 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.6993, allocations: 59.72 kB / 0.6342 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.6994, allocations: 59.77 kB / 0.6343 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.6996, allocations: 15.66 kB / 0.6343 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.6997, allocations: 19.92 kB / 0.6343 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.6998, allocations: 35.84 kB / 0.6343 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.6998, allocations: 4 kB / 0.6343 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.6999, allocations: 8 kB / 0.6343 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.6999, allocations: 15.98 kB / 0.6343 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.7, allocations: 19.86 kB / 0.6344 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.7002, allocations: 57.64 kB / 0.6344 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.7002, allocations: 0 / 0.6344 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7002, allocations: 0 / 0.6344 GB, free: 10.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.7002, allocations: 1.594 kB / 0.6344 GB, free: 10.98 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007176/0.701, allocations: 386.7 kB / 0.6348 GB, free: 10.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.701, allocations: 8.031 kB / 0.6348 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.7011, allocations: 8.891 kB / 0.6348 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.7012, allocations: 176.3 kB / 0.635 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.7012, allocations: 384 / 0.635 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.7013, allocations: 12.36 kB / 0.635 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.7015, allocations: 73.11 kB / 0.6351 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7016, allocations: 4.188 kB / 0.6351 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7016, allocations: 3.938 kB / 0.6351 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7016, allocations: 0 / 0.6351 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.7019, allocations: 71.84 kB / 0.6351 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.7023, allocations: 284.8 kB / 0.6354 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.7025, allocations: 59.84 kB / 0.6355 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.7027, allocations: 37.42 kB / 0.6355 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.7028, allocations: 89.09 kB / 0.6356 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.7029, allocations: 42.5 kB / 0.6356 GB, free: 9.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7029, allocations: 0 / 0.6356 GB, free: 9.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005586/0.7034, allocations: 125.6 kB / 0.6357 GB, free: 9.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.7035, allocations: 51.41 kB / 0.6358 GB, free: 9.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.7036, allocations: 117.8 kB / 0.6359 GB, free: 9.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.7036, allocations: 29.7 kB / 0.6359 GB, free: 9.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.7037, allocations: 96.12 kB / 0.636 GB, free: 9.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.7037, allocations: 11.84 kB / 0.636 GB, free: 9.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.7038, allocations: 17.72 kB / 0.6361 GB, free: 9.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7039, allocations: 314.8 kB / 0.6364 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.7041, allocations: 31.95 kB / 0.6364 GB, free: 8.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.7042, allocations: 39.91 kB / 0.6364 GB, free: 8.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.7045, allocations: 78.53 kB / 0.6365 GB, free: 8.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7045, allocations: 0 / 0.6365 GB, free: 8.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003191/0.7048, allocations: 101.6 kB / 0.6366 GB, free: 8.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.7048, allocations: 4 kB / 0.6366 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7049, allocations: 3.984 kB / 0.6366 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7049, allocations: 0 / 0.6366 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.705, allocations: 19.98 kB / 0.6366 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.705, allocations: 0 / 0.6366 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.7051, allocations: 11.98 kB / 0.6366 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.7051, allocations: 0 / 0.6366 GB, free: 8.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.233e-05/0.7052, allocations: 121.7 kB / 0.6367 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.7052, allocations: 0 / 0.6367 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.7056, allocations: 109.5 kB / 0.6369 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7056, allocations: 384 / 0.6369 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.7057, allocations: 4 kB / 0.6369 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.7057, allocations: 0 / 0.6369 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.7059, allocations: 177.5 kB / 0.637 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7059, allocations: 4.922 kB / 0.637 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.706, allocations: 19.97 kB / 0.6371 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.706, allocations: 0 / 0.6371 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.706, allocations: 4 kB / 0.6371 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.706, allocations: 0 / 0.6371 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.706, allocations: 0 / 0.6371 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.7064, allocations: 199.4 kB / 0.6372 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.7065, allocations: 85.05 kB / 0.6373 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.7065, allocations: 0.875 kB / 0.6373 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.7066, allocations: 15.98 kB / 0.6373 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.7067, allocations: 0 / 0.6373 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.7067, allocations: 7.984 kB / 0.6373 GB, free: 7.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.7067, allocations: 91.28 kB / 0.6374 GB, free: 7.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7067, allocations: 0 / 0.6374 GB, free: 7.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000227/0.707, allocations: 15.94 kB / 0.6375 GB, free: 7.531 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001573/0.7071, allocations: 111.2 kB / 0.6376 GB, free: 7.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.7075, allocations: 71.86 kB / 0.6376 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7075, allocations: 4 kB / 0.6376 GB, free: 7.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.7077, allocations: 35.95 kB / 0.6377 GB, free: 7.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.708, allocations: 16.88 kB / 0.6377 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.7084, allocations: 162.4 kB / 0.6378 GB, free: 7.105 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.7086, allocations: 0.6891 MB / 0.6385 GB, free: 6.391 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.344e-05/0.7087, allocations: 4.25 kB / 0.6385 GB, free: 6.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.7087, allocations: 15.44 kB / 0.6385 GB, free: 6.371 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.7087, allocations: 0 / 0.6385 GB, free: 6.371 MB / 494.1 MB Notification: Performance of Templates: time 0.003414/0.7121, allocations: 1.005 MB / 0.6395 GB, free: 5.383 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)