Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 105.3 kB / 16.27 MB, free: 6.41 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.001265/0.001265, allocations: 184.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6976/0.6976, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2793, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001822/0.2812, allocations: 1.252 MB / 0.5685 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.2821, allocations: 0.8194 MB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.2821, allocations: 4.875 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.2822, allocations: 7 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.2822, allocations: 5.156 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2826, allocations: 126.8 kB / 0.5695 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.308e-05/0.2827, allocations: 28.86 kB / 0.5695 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.2827, allocations: 6.984 kB / 0.5695 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.2827, allocations: 11.28 kB / 0.5695 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.2828, allocations: 12.67 kB / 0.5695 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2828, allocations: 1.219 kB / 0.5695 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.2831, allocations: 166.8 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2831, allocations: 5.859 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.2831, allocations: 9.312 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.2833, allocations: 125.9 kB / 0.5698 GB, free: 31.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2834, allocations: 0 / 0.5698 GB, free: 31.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2834, allocations: 1.281 kB / 0.5698 GB, free: 31.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.2834, allocations: 0.6562 kB / 0.5698 GB, free: 31.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002948/0.2837, allocations: 358.1 kB / 0.5701 GB, free: 30.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2837, allocations: 10.62 kB / 0.5702 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.431e-05/0.2837, allocations: 36.39 kB / 0.5702 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.2838, allocations: 5.078 kB / 0.5702 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.003e-05/0.2838, allocations: 162.3 kB / 0.5704 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.2839, allocations: 30.14 kB / 0.5704 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.2839, allocations: 2.312 kB / 0.5704 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.284, allocations: 49.75 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.284, allocations: 3.938 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.284, allocations: 5.312 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2841, allocations: 1.125 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.2841, allocations: 19.5 kB / 0.5705 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.2843, allocations: 159.2 kB / 0.5706 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2844, allocations: 45.92 kB / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.2845, allocations: 22.84 kB / 0.5707 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.2847, allocations: 179.5 kB / 0.5708 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.2847, allocations: 41.88 kB / 0.5709 GB, free: 29.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2847, allocations: 0 / 0.5709 GB, free: 29.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002051/0.2849, allocations: 77.55 kB / 0.571 GB, free: 29.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.285, allocations: 53 kB / 0.571 GB, free: 29.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.613e-05/0.285, allocations: 100.5 kB / 0.5711 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.285, allocations: 26.92 kB / 0.5711 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-06/0.285, allocations: 84.14 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.2851, allocations: 7.469 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.2851, allocations: 22.3 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.283e-05/0.2851, allocations: 314 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.2852, allocations: 11.75 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.2852, allocations: 9.281 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.2853, allocations: 33.52 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2853, allocations: 2.125 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000112/0.2854, allocations: 53.77 kB / 0.5716 GB, free: 29.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2855, allocations: 9.062 kB / 0.5717 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-06/0.2855, allocations: 1.219 kB / 0.5717 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.2855, allocations: 1.094 kB / 0.5717 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.2855, allocations: 8.438 kB / 0.5717 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2855, allocations: 4.516 kB / 0.5717 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.2856, allocations: 3.562 kB / 0.5717 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.2856, allocations: 5.094 kB / 0.5717 GB, free: 29.16 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 (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 3.76e-05/0.2856, allocations: 109.3 kB / 0.5718 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.2856, allocations: 7.203 kB / 0.5718 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.2858, allocations: 68.34 kB / 0.5719 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2858, allocations: 1.094 kB / 0.5719 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2858, allocations: 1.562 kB / 0.5719 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2858, allocations: 0.5156 kB / 0.5719 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.54e-05/0.2859, allocations: 155.3 kB / 0.572 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2859, allocations: 0.9688 kB / 0.572 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.2859, allocations: 9.031 kB / 0.572 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2859, allocations: 5.812 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.286, allocations: 4 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.286, allocations: 0.875 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.286, allocations: 5.766 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.2861, allocations: 94.38 kB / 0.5721 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.2861, allocations: 90.41 kB / 0.5722 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.2861, allocations: 1.219 kB / 0.5722 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.405e-05/0.2862, allocations: 2.359 kB / 0.5722 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.2862, allocations: 7.234 kB / 0.5722 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2862, allocations: 1.156 kB / 0.5722 GB, free: 28.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.813e-05/0.2863, allocations: 87.05 kB / 0.5723 GB, free: 28.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2863, allocations: 0 / 0.5723 GB, free: 28.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002037/0.2865, allocations: 32.8 kB / 0.5723 GB, free: 28.52 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 (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.0003324/0.2868, allocations: 0.6627 MB / 0.573 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.2869, allocations: 26.23 kB / 0.573 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.287, allocations: 1.125 kB / 0.573 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.287, allocations: 16.14 kB / 0.573 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.2872, allocations: 8.422 kB / 0.573 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.2875, allocations: 177.5 kB / 0.5732 GB, free: 27.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.132e-05/0.2876, allocations: 0.6781 MB / 0.5739 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.043e-05/0.2876, allocations: 5.484 kB / 0.5739 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.2876, allocations: 9.656 kB / 0.5739 GB, free: 27.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2876, allocations: 2.406 kB / 0.5739 GB, free: 27.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.584/2.871, allocations: 1.908 MB / 0.5757 GB, free: 26.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/15.22, allocations: 15.5 kB / 0.5758 GB, free: 26.68 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)