Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002553/0.002553, allocations: 355.7 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.566/1.566, allocations: 165.8 MB / 182.5 MB, free: 5.379 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.734/3.734, allocations: 410.8 MB / 0.5995 GB, free: 15.07 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 206.8 kB / 0.6662 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004804, allocations: 15.98 kB / 0.7423 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3309, allocations: 67.44 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001111/0.332, allocations: 0.9831 MB / 0.8091 GB, free: 27.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3332, allocations: 0.7697 MB / 0.8099 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.3332, allocations: 0 / 0.8099 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.3332, allocations: 3.984 kB / 0.8099 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.3333, allocations: 3.938 kB / 0.8099 GB, free: 27.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.3337, allocations: 107.4 kB / 0.81 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.3338, allocations: 23.86 kB / 0.81 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.3338, allocations: 11.98 kB / 0.81 GB, free: 26.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.3339, allocations: 4 kB / 0.81 GB, free: 26.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.3339, allocations: 15.92 kB / 0.81 GB, free: 26.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.334, allocations: 4 kB / 0.81 GB, free: 26.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.3343, allocations: 163.6 kB / 0.8102 GB, free: 26.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.3343, allocations: 11.98 kB / 0.8102 GB, free: 26.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.3343, allocations: 25.7 kB / 0.8102 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.3345, allocations: 81.97 kB / 0.8103 GB, free: 26.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.553e-06/0.3345, allocations: 0 / 0.8103 GB, free: 26.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.851e-06/0.3345, allocations: 0 / 0.8103 GB, free: 26.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.67e-06/0.3346, allocations: 0 / 0.8103 GB, free: 26.57 MB / 378.7 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.0003285/0.3349, allocations: 359.2 kB / 0.8106 GB, free: 26.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3349, allocations: 8.031 kB / 0.8107 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.335, allocations: 7.938 kB / 0.8107 GB, free: 26.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.3351, allocations: 159.1 kB / 0.8108 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.3352, allocations: 29.7 kB / 0.8108 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3352, allocations: 3.938 kB / 0.8108 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3353, allocations: 45.67 kB / 0.8109 GB, free: 25.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.681e-06/0.3353, allocations: 7.984 kB / 0.8109 GB, free: 25.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3354, allocations: 3.953 kB / 0.8109 GB, free: 25.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-06/0.3354, allocations: 4 kB / 0.8109 GB, free: 25.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3355, allocations: 15.98 kB / 0.8109 GB, free: 25.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.3356, allocations: 165.6 kB / 0.8111 GB, free: 25.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3359, allocations: 46.56 kB / 0.8111 GB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.336, allocations: 24.8 kB / 0.8111 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.3362, allocations: 182.3 kB / 0.8113 GB, free: 25.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.3363, allocations: 34.55 kB / 0.8114 GB, free: 25.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.04e-06/0.3363, allocations: 0 / 0.8114 GB, free: 25.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002654/0.3366, allocations: 65.64 kB / 0.8114 GB, free: 25.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.3366, allocations: 55.39 kB / 0.8115 GB, free: 25.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.007e-05/0.3367, allocations: 101.9 kB / 0.8116 GB, free: 25.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3367, allocations: 25.7 kB / 0.8116 GB, free: 25.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.563e-05/0.3367, allocations: 80.14 kB / 0.8117 GB, free: 24.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3367, allocations: 19.8 kB / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-06/0.3368, allocations: 0 / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3369, allocations: 314.8 kB / 0.812 GB, free: 24.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.337, allocations: 7.938 kB / 0.812 GB, free: 24.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.3371, allocations: 15.98 kB / 0.812 GB, free: 24.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.3372, allocations: 12 kB / 0.812 GB, free: 24.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-06/0.3372, allocations: 0 / 0.812 GB, free: 24.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001847/0.3374, allocations: 57.67 kB / 0.8121 GB, free: 24.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3374, allocations: 4 kB / 0.8121 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3374, allocations: 0 / 0.8121 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3374, allocations: 0 / 0.8121 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.3375, allocations: 8 kB / 0.8121 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.51e-06/0.3375, allocations: 3.953 kB / 0.8121 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.3376, allocations: 3.906 kB / 0.8121 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-06/0.3376, allocations: 8 kB / 0.8121 GB, free: 24.46 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3377, allocations: 118.9 kB / 0.8122 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.3377, allocations: 4 kB / 0.8122 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.338, allocations: 61.17 kB / 0.8123 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.338, allocations: 0.5625 kB / 0.8123 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.773e-06/0.338, allocations: 4 kB / 0.8123 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.856e-06/0.338, allocations: 3.953 kB / 0.8123 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.3382, allocations: 153.7 kB / 0.8124 GB, free: 24.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-06/0.3382, allocations: 7.938 kB / 0.8124 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.3382, allocations: 8 kB / 0.8124 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.861e-06/0.3383, allocations: 3.984 kB / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3383, allocations: 3.938 kB / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.153e-06/0.3383, allocations: 0 / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-06/0.3383, allocations: 0 / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3385, allocations: 93 kB / 0.8125 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.3385, allocations: 92.94 kB / 0.8126 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3386, allocations: 4 kB / 0.8126 GB, free: 23.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.3386, allocations: 0 / 0.8126 GB, free: 23.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.3387, allocations: 7.984 kB / 0.8126 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-06/0.3387, allocations: 0 / 0.8126 GB, free: 23.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.578e-05/0.3387, allocations: 83.28 kB / 0.8127 GB, free: 23.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.57e-07/0.3387, allocations: 0 / 0.8127 GB, free: 23.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.3391, allocations: 28 kB / 0.8128 GB, free: 23.7 MB / 378.7 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 (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.0002087/0.3393, allocations: 143.1 kB / 0.8129 GB, free: 23.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.3395, allocations: 31.91 kB / 0.8129 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.831e-06/0.3395, allocations: 0 / 0.8129 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.3395, allocations: 12 kB / 0.8129 GB, free: 23.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3398, allocations: 11.98 kB / 0.8129 GB, free: 23.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.3401, allocations: 138.6 kB / 0.8131 GB, free: 23.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.3402, allocations: 0.677 MB / 0.8137 GB, free: 22.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.303e-05/0.3403, allocations: 15.86 kB / 0.8137 GB, free: 22.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.3403, allocations: 11.44 kB / 0.8138 GB, free: 22.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3403, allocations: 4 kB / 0.8138 GB, free: 22.6 MB / 378.7 MB Notification: Performance of Templates: time 0.003667/0.344, allocations: 1.007 MB / 0.8147 GB, free: 21.59 MB / 378.7 MB