Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009324/0.009324, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001702/0.001702, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4066/0.4066, allocations: 54.94 MB / 324.8 MB, free: 15.91 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.001419/0.001419, allocations: 68.69 kB / 456.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1317, allocations: 59.59 MB / 0.5037 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002309/0.134, allocations: 1.242 MB / 0.5049 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005444/0.1346, allocations: 297.2 kB / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.1346, allocations: 1.469 kB / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.1347, allocations: 0 / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.1347, allocations: 7.938 kB / 0.5052 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1351, allocations: 49.55 kB / 0.5053 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.542e-05/0.1352, allocations: 20.88 kB / 0.5053 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.1352, allocations: 5.562 kB / 0.5053 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.1353, allocations: 8.422 kB / 0.5053 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.1353, allocations: 10.44 kB / 0.5053 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1353, allocations: 1.062 kB / 0.5053 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1355, allocations: 48.95 kB / 0.5054 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.1355, allocations: 13.2 kB / 0.5054 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1355, allocations: 11.61 kB / 0.5054 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1357, allocations: 47.92 kB / 0.5054 GB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1357, allocations: 1.375 kB / 0.5054 GB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1357, allocations: 0 / 0.5054 GB, free: 8.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1357, allocations: 0 / 0.5054 GB, free: 8.332 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000367/0.1361, allocations: 335 kB / 0.5057 GB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1361, allocations: 10.25 kB / 0.5058 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.1363, allocations: 19.5 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.358e-05/0.1364, allocations: 177.9 kB / 0.5059 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1365, allocations: 384 / 0.5059 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1365, allocations: 1.594 kB / 0.5059 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1366, allocations: 41.25 kB / 0.506 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1366, allocations: 5.469 kB / 0.506 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1366, allocations: 3.938 kB / 0.506 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1366, allocations: 1.406 kB / 0.506 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.1367, allocations: 16.14 kB / 0.506 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1368, allocations: 161.8 kB / 0.5062 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.1386, allocations: 268.9 kB / 0.5064 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.1386, allocations: 22.48 kB / 0.5064 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-06/0.1387, allocations: 0 / 0.5064 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.1387, allocations: 35.94 kB / 0.5065 GB, free: 7.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1387, allocations: 0 / 0.5065 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001629/0.1389, allocations: 60.88 kB / 0.5065 GB, free: 7.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.1389, allocations: 56.72 kB / 0.5066 GB, free: 7.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.091e-05/0.1389, allocations: 99.22 kB / 0.5067 GB, free: 7.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.1389, allocations: 25.7 kB / 0.5067 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.143e-05/0.139, allocations: 84.27 kB / 0.5068 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.139, allocations: 10.56 kB / 0.5068 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.139, allocations: 16.47 kB / 0.5068 GB, free: 6.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.1391, allocations: 312.2 kB / 0.5071 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.1391, allocations: 12.11 kB / 0.5071 GB, free: 6.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.1391, allocations: 9.5 kB / 0.5071 GB, free: 6.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.1392, allocations: 23.86 kB / 0.5072 GB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1392, allocations: 0 / 0.5072 GB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.633e-05/0.1392, allocations: 61.12 kB / 0.5072 GB, free: 6.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1393, allocations: 9.438 kB / 0.5072 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1393, allocations: 3.938 kB / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1393, allocations: 1.375 kB / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.1394, allocations: 8.109 kB / 0.5072 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1394, allocations: 1.375 kB / 0.5072 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.1394, allocations: 0 / 0.5072 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-06/0.1394, allocations: 1.375 kB / 0.5072 GB, free: 6.562 MB / 382.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 (4): * Single equations (assignments): 4 * 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 4.238e-05/0.1395, allocations: 108.6 kB / 0.5073 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.1395, allocations: 13.31 kB / 0.5074 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.1395, allocations: 7.438 kB / 0.5074 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1395, allocations: 0 / 0.5074 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1395, allocations: 5.312 kB / 0.5074 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1395, allocations: 0 / 0.5074 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.934e-05/0.1396, allocations: 159.2 kB / 0.5075 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1396, allocations: 0 / 0.5075 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.1397, allocations: 9.5 kB / 0.5075 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1397, allocations: 3.984 kB / 0.5075 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1397, allocations: 5.312 kB / 0.5075 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1397, allocations: 0 / 0.5075 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1397, allocations: 4 kB / 0.5075 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.242e-05/0.1398, allocations: 81.47 kB / 0.5076 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.1398, allocations: 79.86 kB / 0.5077 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1399, allocations: 7.938 kB / 0.5077 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.1399, allocations: 1.375 kB / 0.5077 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.1399, allocations: 5.359 kB / 0.5077 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1399, allocations: 1.375 kB / 0.5077 GB, free: 6.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.551e-05/0.14, allocations: 80.66 kB / 0.5078 GB, free: 5.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.14, allocations: 0 / 0.5078 GB, free: 5.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.1402, allocations: 5.5 kB / 0.5078 GB, free: 5.941 MB / 382.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 (4): * Single equations (assignments): 4 * 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 9.851e-05/0.1403, allocations: 99.75 kB / 0.5079 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1404, allocations: 25.67 kB / 0.5079 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1404, allocations: 0 / 0.5079 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.032e-05/0.1404, allocations: 13.62 kB / 0.5079 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1407, allocations: 12.2 kB / 0.5079 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.141, allocations: 127.4 kB / 0.5081 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.1411, allocations: 0.673 MB / 0.5087 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.171e-05/0.1412, allocations: 5.375 kB / 0.5087 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.1412, allocations: 10.19 kB / 0.5087 GB, free: 4.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1412, allocations: 0 / 0.5087 GB, free: 4.996 MB / 382.1 MB Notification: Performance of Templates: time 0.002407/0.1436, allocations: 0.5201 MB / 0.5092 GB, free: 4.719 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)