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.001154/0.001154, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001448/0.001448, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.542/1.542, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3918/0.3918, allocations: 54.93 MB / 324.4 MB, free: 160 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.001483/0.001483, allocations: 71.91 kB / 394.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1346, allocations: 59.59 MB / 454.4 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Density_pTX): time 0.2395/0.3741, allocations: 1.532 MB / 456 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1444/0.5185, allocations: 130.1 MB / 0.5723 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.5186, allocations: 0 / 0.5723 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.5188, allocations: 3.938 kB / 0.5723 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.785e-05/0.5188, allocations: 9.531 kB / 0.5723 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.5192, allocations: 57.91 kB / 0.5724 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.5193, allocations: 51.67 kB / 0.5725 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.5194, allocations: 19.98 kB / 0.5725 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.5195, allocations: 19.92 kB / 0.5725 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.5195, allocations: 27.91 kB / 0.5725 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.5196, allocations: 8 kB / 0.5725 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.5196, allocations: 15.44 kB / 0.5725 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.5197, allocations: 19.92 kB / 0.5726 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.5197, allocations: 15.92 kB / 0.5726 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.5199, allocations: 59.75 kB / 0.5726 GB, free: 3.938 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5199, allocations: 0 / 0.5726 GB, free: 3.938 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5199, allocations: 0 / 0.5726 GB, free: 3.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.5199, allocations: 0 / 0.5726 GB, free: 3.938 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.0005403/0.5204, allocations: 377.1 kB / 0.573 GB, free: 3.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5205, allocations: 8.031 kB / 0.573 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.5205, allocations: 9.469 kB / 0.573 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.5207, allocations: 178.8 kB / 0.5732 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.5207, allocations: 384 / 0.5732 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.5207, allocations: 4.375 kB / 0.5732 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.521, allocations: 78.16 kB / 0.5733 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.521, allocations: 192 / 0.5733 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.521, allocations: 3.938 kB / 0.5733 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.521, allocations: 4 kB / 0.5733 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.5213, allocations: 63.92 kB / 0.5733 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.5217, allocations: 284.8 kB / 0.5736 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.5219, allocations: 62.47 kB / 0.5737 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.522, allocations: 37.59 kB / 0.5737 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.5222, allocations: 93.09 kB / 0.5738 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.5222, allocations: 38.56 kB / 0.5738 GB, free: 2.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5222, allocations: 0 / 0.5738 GB, free: 2.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005184/0.5227, allocations: 129.5 kB / 0.5739 GB, free: 2.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.5228, allocations: 51.41 kB / 0.574 GB, free: 2.359 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.5231, allocations: 125.7 kB / 0.5741 GB, free: 2.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5231, allocations: 29.7 kB / 0.5741 GB, free: 2.191 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.5231, allocations: 92.12 kB / 0.5742 GB, free: 2.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.5232, allocations: 7.812 kB / 0.5742 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.5232, allocations: 17.72 kB / 0.5742 GB, free: 2.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.5235, allocations: 318.8 kB / 0.5746 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.5236, allocations: 27.97 kB / 0.5746 GB, free: 1.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.5238, allocations: 35.97 kB / 0.5746 GB, free: 1.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.524, allocations: 65.44 kB / 0.5747 GB, free: 1.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.524, allocations: 5.312 kB / 0.5747 GB, free: 1.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004047/0.5245, allocations: 97.62 kB / 0.5748 GB, free: 1.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5245, allocations: 8.766 kB / 0.5748 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5245, allocations: 0 / 0.5748 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.5246, allocations: 0 / 0.5748 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.5247, allocations: 23.92 kB / 0.5748 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5247, allocations: 1.312 kB / 0.5748 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.5248, allocations: 15.92 kB / 0.5748 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.5248, allocations: 0 / 0.5748 GB, free: 1.465 MB / 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 9.654e-05/0.5249, allocations: 117.8 kB / 0.5749 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.525, allocations: 3.906 kB / 0.5749 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.5253, allocations: 109.5 kB / 0.575 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5254, allocations: 0 / 0.575 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5254, allocations: 0 / 0.575 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5254, allocations: 4.5 kB / 0.575 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.5256, allocations: 173.6 kB / 0.5752 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5256, allocations: 0 / 0.5752 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.836e-05/0.5257, allocations: 20.91 kB / 0.5752 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5257, allocations: 4 kB / 0.5752 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.5257, allocations: 4 kB / 0.5752 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5257, allocations: 1.766 kB / 0.5752 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5257, allocations: 0 / 0.5752 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.5261, allocations: 199.3 kB / 0.5754 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.5262, allocations: 81.53 kB / 0.5755 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.5262, allocations: 0 / 0.5755 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5263, allocations: 16.8 kB / 0.5755 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.5264, allocations: 3.984 kB / 0.5755 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.5264, allocations: 3.938 kB / 0.5755 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.063e-05/0.5265, allocations: 96.81 kB / 0.5756 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5265, allocations: 0 / 0.5756 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.5267, allocations: 12 kB / 0.5756 GB, free: 0.5352 MB / 446.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.0002089/0.5269, allocations: 115.2 kB / 0.5757 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.5273, allocations: 75.89 kB / 0.5758 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5273, allocations: 7 kB / 0.5758 GB, free: 340 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5275, allocations: 31.97 kB / 0.5759 GB, free: 308 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.5278, allocations: 14.27 kB / 0.5759 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.5283, allocations: 172 kB / 0.576 GB, free: 108 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5286, allocations: 0.6846 MB / 0.5767 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.273e-05/0.5287, allocations: 4 kB / 0.5767 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.5287, allocations: 15.44 kB / 0.5767 GB, free: 15.38 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5287, allocations: 0 / 0.5767 GB, free: 15.38 MB / 462.1 MB Notification: Performance of Templates: time 0.003827/0.5326, allocations: 0.8868 MB / 0.5776 GB, free: 14.53 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)