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.001172/0.001172, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.602/1.602, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4087/0.4087, allocations: 54.95 MB / 324.7 MB, free: 52 kB / 254.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.001496/0.001496, allocations: 72.36 kB / 395.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1472, allocations: 59.59 MB / 455 MB, free: 108 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Density_pTX): time 0.2863/0.4335, allocations: 1.467 MB / 456.4 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1585/0.5921, allocations: 132.1 MB / 0.5747 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.5922, allocations: 0 / 0.5747 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.5923, allocations: 3.938 kB / 0.5747 GB, free: 1.875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.5924, allocations: 15.86 kB / 0.5747 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.5928, allocations: 65.69 kB / 0.5748 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.822e-05/0.5929, allocations: 55.61 kB / 0.5749 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.593, allocations: 16 kB / 0.5749 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.593, allocations: 19.92 kB / 0.5749 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.5931, allocations: 27.91 kB / 0.5749 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.5931, allocations: 7.984 kB / 0.5749 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.5932, allocations: 13.88 kB / 0.5749 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.5932, allocations: 15.92 kB / 0.575 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.5932, allocations: 19.92 kB / 0.575 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.5934, allocations: 57.52 kB / 0.575 GB, free: 1.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5934, allocations: 0 / 0.575 GB, free: 1.574 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.5934, allocations: 0 / 0.575 GB, free: 1.574 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.5934, allocations: 3.984 kB / 0.575 GB, free: 1.57 MB / 446.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.0005022/0.5939, allocations: 372.9 kB / 0.5754 GB, free: 1.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.594, allocations: 8.969 kB / 0.5754 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.594, allocations: 10.47 kB / 0.5754 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.5941, allocations: 184.1 kB / 0.5756 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.5941, allocations: 384 / 0.5756 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.5942, allocations: 4.375 kB / 0.5756 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.5944, allocations: 74.22 kB / 0.5757 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.5944, allocations: 3.75 kB / 0.5757 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5944, allocations: 3.938 kB / 0.5757 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5944, allocations: 0 / 0.5757 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.5947, allocations: 67.92 kB / 0.5757 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.5951, allocations: 284.8 kB / 0.576 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.5953, allocations: 58.53 kB / 0.5761 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.5954, allocations: 32.92 kB / 0.5761 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.5956, allocations: 97.09 kB / 0.5762 GB, free: 244 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.5956, allocations: 31.06 kB / 0.5762 GB, free: 204 kB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.5957, allocations: 0 / 0.5762 GB, free: 204 kB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005281/0.5962, allocations: 133.4 kB / 0.5763 GB, free: 64 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.5962, allocations: 59.41 kB / 0.5764 GB, free: 15.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.5964, allocations: 117.8 kB / 0.5765 GB, free: 15.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.5964, allocations: 25.7 kB / 0.5765 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.5964, allocations: 96.12 kB / 0.5766 GB, free: 15.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.5965, allocations: 11.75 kB / 0.5766 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.5965, allocations: 13.72 kB / 0.5767 GB, free: 15.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5966, allocations: 322.8 kB / 0.577 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.5968, allocations: 31.97 kB / 0.577 GB, free: 15.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.5969, allocations: 31.97 kB / 0.577 GB, free: 15.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.5972, allocations: 76.98 kB / 0.5771 GB, free: 15.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5972, allocations: 0.875 kB / 0.5771 GB, free: 15.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003163/0.5975, allocations: 97.62 kB / 0.5772 GB, free: 15.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5975, allocations: 7.984 kB / 0.5772 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5976, allocations: 0 / 0.5772 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.5976, allocations: 0 / 0.5772 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5977, allocations: 15.98 kB / 0.5772 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5977, allocations: 0.7031 kB / 0.5772 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.5978, allocations: 15.98 kB / 0.5772 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.5978, allocations: 1.625 kB / 0.5772 GB, free: 15.1 MB / 462.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 8.709e-05/0.5979, allocations: 117.8 kB / 0.5773 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.5979, allocations: 3.906 kB / 0.5773 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.5983, allocations: 113.4 kB / 0.5775 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5983, allocations: 4 kB / 0.5775 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5983, allocations: 4 kB / 0.5775 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5984, allocations: 0 / 0.5775 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.5985, allocations: 173.7 kB / 0.5776 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5985, allocations: 3.984 kB / 0.5776 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.5986, allocations: 17.11 kB / 0.5776 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5987, allocations: 0 / 0.5776 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.5987, allocations: 0 / 0.5776 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.5987, allocations: 0 / 0.5776 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5987, allocations: 0.8594 kB / 0.5776 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.599, allocations: 212.1 kB / 0.5778 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.5991, allocations: 77.11 kB / 0.5779 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.5991, allocations: 0 / 0.5779 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5992, allocations: 11.98 kB / 0.5779 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.5993, allocations: 15.92 kB / 0.5779 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.5993, allocations: 4 kB / 0.578 GB, free: 14.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.5994, allocations: 87.28 kB / 0.578 GB, free: 14.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5994, allocations: 0.8438 kB / 0.578 GB, free: 14.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.5996, allocations: 12 kB / 0.578 GB, free: 14.16 MB / 462.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.0001481/0.5998, allocations: 107.2 kB / 0.5782 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.6001, allocations: 75.91 kB / 0.5782 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6001, allocations: 0 / 0.5782 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.6003, allocations: 35.91 kB / 0.5783 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.6006, allocations: 22.95 kB / 0.5783 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.6009, allocations: 156 kB / 0.5784 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.6012, allocations: 0.6846 MB / 0.5791 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.108e-05/0.6012, allocations: 1.094 kB / 0.5791 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.6013, allocations: 11.44 kB / 0.5791 GB, free: 13.03 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.6013, allocations: 4 kB / 0.5791 GB, free: 13.03 MB / 462.1 MB Notification: Performance of Templates: time 0.003359/0.6046, allocations: 0.9976 MB / 0.5801 GB, free: 12.06 MB / 462.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)