Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001145/0.001146, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3729/0.3729, allocations: 54.98 MB / 325.4 MB, free: 0.7422 MB / 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.0005371/0.0005372, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3326, allocations: 60.71 MB / 457.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001366/0.334, allocations: 0.9694 MB / 458.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.3349, allocations: 0.6118 MB / 458.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.335, allocations: 0 / 458.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.335, allocations: 3.828 kB / 458.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.335, allocations: 10.34 kB / 458.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.3355, allocations: 90.16 kB / 459 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.3356, allocations: 15.84 kB / 459 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.3357, allocations: 0.5625 kB / 459 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.3357, allocations: 13.91 kB / 459 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.3358, allocations: 6.656 kB / 459 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.3358, allocations: 1.094 kB / 459 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.3361, allocations: 168.5 kB / 459.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.3362, allocations: 4 kB / 459.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.3362, allocations: 26.55 kB / 459.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.3364, allocations: 76.38 kB / 459.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3364, allocations: 9.125 kB / 459.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3364, allocations: 2.938 kB / 459.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3364, allocations: 0 / 459.3 MB, free: 38.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003754/0.3368, allocations: 342.7 kB / 459.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3369, allocations: 9.094 kB / 459.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.3369, allocations: 4.156 kB / 459.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.337, allocations: 165.1 kB / 459.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/0.3371, allocations: 29.56 kB / 459.8 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3371, allocations: 5.281 kB / 459.9 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3372, allocations: 38.06 kB / 459.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3373, allocations: 0.8438 kB / 459.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3373, allocations: 0.9375 kB / 459.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3373, allocations: 3.328 kB / 459.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.3374, allocations: 20.3 kB / 459.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.3375, allocations: 150.4 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3377, allocations: 31.14 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.3379, allocations: 95.83 kB / 460.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3379, allocations: 33.88 kB / 460.2 MB, free: 37.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/0.3379, allocations: 0.6562 kB / 460.2 MB, free: 37.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002576/0.3382, allocations: 66.3 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.3382, allocations: 53.91 kB / 460.3 MB, free: 37.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.3383, allocations: 100.6 kB / 460.4 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3383, allocations: 25.7 kB / 460.5 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.3383, allocations: 80.14 kB / 460.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.3384, allocations: 14.34 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.3384, allocations: 2.5 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.3385, allocations: 314.2 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.3385, allocations: 9.625 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.3386, allocations: 6.297 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.3386, allocations: 11.48 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3386, allocations: 0 / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001212/0.3387, allocations: 48.58 kB / 460.9 MB, free: 36.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3388, allocations: 6.125 kB / 460.9 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3388, allocations: 2.062 kB / 460.9 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3388, allocations: 3.938 kB / 460.9 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.3389, allocations: 7.234 kB / 461 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3389, allocations: 0.9375 kB / 461 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.3389, allocations: 4.953 kB / 461 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.339, allocations: 8.203 kB / 461 MB, free: 36.48 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.339, allocations: 107.9 kB / 461.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.339, allocations: 8.469 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.3392, allocations: 57 kB / 461.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3392, allocations: 0.6094 kB / 461.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3392, allocations: 5.312 kB / 461.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3392, allocations: 0 / 461.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.372e-05/0.3393, allocations: 158.8 kB / 461.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3393, allocations: 0 / 461.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.3394, allocations: 12.08 kB / 461.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3394, allocations: 0.5625 kB / 461.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3394, allocations: 0 / 461.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3394, allocations: 1.812 kB / 461.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3394, allocations: 4.141 kB / 461.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3396, allocations: 80.06 kB / 461.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.3396, allocations: 78.47 kB / 461.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3397, allocations: 3.531 kB / 461.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.3397, allocations: 0.7969 kB / 461.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.3398, allocations: 7.281 kB / 461.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3398, allocations: 0 / 461.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.3398, allocations: 85.28 kB / 461.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3398, allocations: 0 / 461.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00025/0.3401, allocations: 31.92 kB / 461.6 MB, free: 35.89 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/0.3403, allocations: 135 kB / 461.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.3404, allocations: 22.56 kB / 461.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3405, allocations: 0 / 461.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.3405, allocations: 19.12 kB / 461.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.3407, allocations: 9.531 kB / 461.8 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.341, allocations: 135 kB / 461.9 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3412, allocations: 0.6751 MB / 462.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.025e-05/0.3413, allocations: 8.766 kB / 462.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.3413, allocations: 10.12 kB / 462.6 MB, free: 34.97 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3413, allocations: 0 / 462.6 MB, free: 34.97 MB / 382.1 MB Notification: Performance of Templates: time 0.003431/0.3447, allocations: 0.8391 MB / 463.4 MB, free: 34.9 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: