Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 108 kB / 15.61 MB, free: 152 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.00159/0.00159, allocations: 194.6 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.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4619/0.4619, allocations: 54.94 MB / 324.7 MB, free: 15.88 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.001497/0.001497, allocations: 71.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1414, allocations: 59.6 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.2254/0.3669, allocations: 1.256 MB / 456.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1508/0.5177, allocations: 132 MB / 0.5744 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.5178, allocations: 7.938 kB / 0.5744 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.5178, allocations: 0 / 0.5744 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.5179, allocations: 7.938 kB / 0.5744 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.5183, allocations: 51.73 kB / 0.5745 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.5184, allocations: 23.86 kB / 0.5745 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.5184, allocations: 4 kB / 0.5745 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.5185, allocations: 4 kB / 0.5745 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.5185, allocations: 15.91 kB / 0.5745 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.5185, allocations: 0 / 0.5745 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.5186, allocations: 15.5 kB / 0.5746 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.5187, allocations: 7.984 kB / 0.5746 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.5187, allocations: 11.94 kB / 0.5746 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.5188, allocations: 21.95 kB / 0.5746 GB, free: 2.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5188, allocations: 0.75 kB / 0.5746 GB, free: 2.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5188, allocations: 0 / 0.5746 GB, free: 2.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.5188, allocations: 0 / 0.5746 GB, free: 2.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004587/0.5193, allocations: 331.1 kB / 0.5749 GB, free: 1.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5193, allocations: 8.031 kB / 0.5749 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.5194, allocations: 12 kB / 0.5749 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.5195, allocations: 172.4 kB / 0.5751 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.5196, allocations: 26.27 kB / 0.5751 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.5196, allocations: 9.156 kB / 0.5751 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5197, allocations: 34.25 kB / 0.5752 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5198, allocations: 3.938 kB / 0.5752 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.5198, allocations: 4 kB / 0.5752 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5198, allocations: 4 kB / 0.5752 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.5199, allocations: 8.734 kB / 0.5752 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.52, allocations: 157.7 kB / 0.5753 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.5201, allocations: 30.58 kB / 0.5754 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.5202, allocations: 20.88 kB / 0.5754 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.5204, allocations: 94.02 kB / 0.5755 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5204, allocations: 34.56 kB / 0.5755 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5204, allocations: 4 kB / 0.5755 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002246/0.5206, allocations: 61.61 kB / 0.5756 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.5207, allocations: 51.41 kB / 0.5756 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.5208, allocations: 98.03 kB / 0.5757 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.5208, allocations: 29.7 kB / 0.5757 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.5208, allocations: 80.14 kB / 0.5758 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.5209, allocations: 9.719 kB / 0.5758 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.5209, allocations: 21.7 kB / 0.5758 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.521, allocations: 316 kB / 0.5761 GB, free: 208 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.5211, allocations: 11.94 kB / 0.5762 GB, free: 196 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.5211, allocations: 7.984 kB / 0.5762 GB, free: 188 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/0.5212, allocations: 21.47 kB / 0.5762 GB, free: 164 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5212, allocations: 0 / 0.5762 GB, free: 164 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001139/0.5213, allocations: 49.69 kB / 0.5762 GB, free: 108 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.5213, allocations: 11.94 kB / 0.5762 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5214, allocations: 0 / 0.5762 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5214, allocations: 0 / 0.5762 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.5214, allocations: 9 kB / 0.5763 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.5215, allocations: 7.922 kB / 0.5763 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.5215, allocations: 3.906 kB / 0.5763 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.5215, allocations: 0.9375 kB / 0.5763 GB, free: 76 kB / 446.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 0.0001015/0.5216, allocations: 113.9 kB / 0.5764 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.5216, allocations: 7.875 kB / 0.5764 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.5218, allocations: 57.17 kB / 0.5764 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5218, allocations: 4 kB / 0.5764 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5218, allocations: 0 / 0.5764 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5218, allocations: 0 / 0.5764 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.5219, allocations: 154.2 kB / 0.5766 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5219, allocations: 0 / 0.5766 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.522, allocations: 4 kB / 0.5766 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.522, allocations: 7 kB / 0.5766 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.522, allocations: 0 / 0.5766 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.522, allocations: 7.938 kB / 0.5766 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.522, allocations: 4.547 kB / 0.5766 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.5222, allocations: 73.11 kB / 0.5767 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.5222, allocations: 81.11 kB / 0.5768 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.5223, allocations: 3.938 kB / 0.5768 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.938e-05/0.5223, allocations: 3.984 kB / 0.5768 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.5223, allocations: 4 kB / 0.5768 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.5223, allocations: 11.62 kB / 0.5768 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.5224, allocations: 79.7 kB / 0.5769 GB, free: 15.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5224, allocations: 0 / 0.5769 GB, free: 15.37 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.5226, allocations: 9.875 kB / 0.5769 GB, free: 15.36 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.0001581/0.5227, allocations: 107.2 kB / 0.577 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.5229, allocations: 31.91 kB / 0.577 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5229, allocations: 0 / 0.577 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.523, allocations: 8.234 kB / 0.577 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.5232, allocations: 8 kB / 0.577 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.5235, allocations: 137.2 kB / 0.5771 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.5237, allocations: 0.6729 MB / 0.5778 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.5238, allocations: 8.625 kB / 0.5778 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.5238, allocations: 11.44 kB / 0.5778 GB, free: 14.34 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5238, allocations: 0 / 0.5778 GB, free: 14.34 MB / 462.1 MB Notification: Performance of Templates: time 0.002461/0.5263, allocations: 0.506 MB / 0.5783 GB, free: 13.86 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)