Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001165/0.001165, allocations: 104.4 kB / 16.29 MB, free: 6.43 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.001128/0.001128, allocations: 184 kB / 17.22 MB, free: 5.934 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.242/1.242, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 292.3 MB / 0.5495 GB, free: 17.44 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.191, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002262/0.1933, allocations: 1.264 MB / 0.7853 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1945, allocations: 0.8273 MB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.1945, allocations: 0 / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.1945, allocations: 3.938 kB / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.1946, allocations: 3.984 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.1951, allocations: 127.4 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.1952, allocations: 35.78 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.1952, allocations: 0 / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.075e-05/0.1953, allocations: 11.98 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.1953, allocations: 15.94 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1953, allocations: 0 / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.1956, allocations: 167.8 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.1957, allocations: 7.984 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.1957, allocations: 7.938 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1959, allocations: 128 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1959, allocations: 0 / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.133e-06/0.196, allocations: 3.938 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.196, allocations: 0 / 0.7866 GB, free: 1.223 MB / 0.6544 GB 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.0003984/0.1964, allocations: 363.4 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1964, allocations: 8.031 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1964, allocations: 8.844 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.1965, allocations: 160.4 kB / 0.7871 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/0.1966, allocations: 34.25 kB / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1966, allocations: 4.375 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1967, allocations: 46.23 kB / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1968, allocations: 3.938 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1968, allocations: 4 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1968, allocations: 4 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.1969, allocations: 15.92 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.197, allocations: 165.7 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1972, allocations: 38.56 kB / 0.7874 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.1973, allocations: 16.86 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2812/0.4785, allocations: 180.5 kB / 0.7876 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4785, allocations: 36 kB / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.053e-06/0.4785, allocations: 0 / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002586/0.4788, allocations: 71.19 kB / 0.7877 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.4788, allocations: 51.41 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.324e-05/0.4789, allocations: 103.9 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4789, allocations: 26.42 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.059e-05/0.4789, allocations: 82.05 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.4789, allocations: 18.25 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.479, allocations: 15.53 kB / 0.788 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.867e-05/0.479, allocations: 313.5 kB / 0.7883 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.4791, allocations: 11.27 kB / 0.7883 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.4791, allocations: 8.625 kB / 0.7883 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.235e-05/0.4792, allocations: 29.55 kB / 0.7883 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4792, allocations: 0.9375 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001014/0.4793, allocations: 63.98 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4793, allocations: 9.812 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4793, allocations: 0 / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4793, allocations: 1.703 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.4794, allocations: 10.34 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4794, allocations: 0 / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.4794, allocations: 3.281 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.4794, allocations: 2.625 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB 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.195e-05/0.4795, allocations: 117.3 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.4795, allocations: 1.438 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.4797, allocations: 65.42 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4797, allocations: 4.031 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4797, allocations: 2.625 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4797, allocations: 0 / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.535e-05/0.4798, allocations: 165.3 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4798, allocations: 5.531 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.4798, allocations: 5.25 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4798, allocations: 2.625 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.4798, allocations: 1.406 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4798, allocations: 0.625 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4798, allocations: 0.5938 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.4799, allocations: 94.41 kB / 0.7889 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.48, allocations: 83.7 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.48, allocations: 0 / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.4801, allocations: 8.594 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.4801, allocations: 3.812 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.4801, allocations: 2.594 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.588e-05/0.4801, allocations: 79.19 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4801, allocations: 0 / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002182/0.4804, allocations: 38.03 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB 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 0.0001745/0.4805, allocations: 138 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.4807, allocations: 29.78 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4807, allocations: 0 / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.4807, allocations: 14.69 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.481, allocations: 11.36 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.4812, allocations: 117.6 kB / 0.7894 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.06e-05/0.4813, allocations: 0.6796 MB / 0.79 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.4813, allocations: 10.36 kB / 0.7901 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.4813, allocations: 9.938 kB / 0.7901 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.4813, allocations: 1.062 kB / 0.7901 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.002649/0.484, allocations: 1.062 MB / 0.7911 GB, free: 46.63 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)