Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.00101/0.00101, allocations: 101.7 kB / 16.27 MB, free: 5.855 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.0009638/0.0009638, allocations: 187.5 kB / 17.19 MB, free: 5.508 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.183/1.183, 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.7647/0.7647, allocations: 122.8 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.89 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3077, allocations: 77.91 MB / 0.5673 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002131/0.3099, allocations: 1.256 MB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004662/0.3104, allocations: 289.2 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.3104, allocations: 4.469 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.3104, allocations: 0.5938 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.3105, allocations: 9.375 kB / 0.5688 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.3107, allocations: 55.36 kB / 0.5688 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.3108, allocations: 13.53 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.3108, allocations: 4.203 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.3109, allocations: 8.781 kB / 0.5689 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.3109, allocations: 7.766 kB / 0.5689 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.3109, allocations: 1.156 kB / 0.5689 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.311, allocations: 54.61 kB / 0.5689 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.3111, allocations: 6.016 kB / 0.5689 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.3111, allocations: 8.984 kB / 0.5689 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3112, allocations: 47.39 kB / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3112, allocations: 0.8125 kB / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3112, allocations: 1.688 kB / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3112, allocations: 1.656 kB / 0.569 GB, free: 31.44 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.0002724/0.3115, allocations: 335 kB / 0.5693 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3116, allocations: 10.58 kB / 0.5693 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.689e-05/0.3116, allocations: 32.62 kB / 0.5694 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.3118, allocations: 21.72 kB / 0.5694 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.888e-05/0.3119, allocations: 167 kB / 0.5695 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.3119, allocations: 4.625 kB / 0.5695 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.3119, allocations: 5.875 kB / 0.5695 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.317e-05/0.312, allocations: 46.02 kB / 0.5696 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.312, allocations: 3.938 kB / 0.5696 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.312, allocations: 4.969 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.312, allocations: 1.406 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.37e-05/0.3121, allocations: 14.25 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.3122, allocations: 159.1 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.3139, allocations: 272.2 kB / 0.57 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.314, allocations: 21.38 kB / 0.57 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.314, allocations: 1.062 kB / 0.57 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.314, allocations: 31.62 kB / 0.5701 GB, free: 30.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.314, allocations: 2.156 kB / 0.5701 GB, free: 30.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001398/0.3142, allocations: 64.5 kB / 0.5701 GB, free: 30.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.3142, allocations: 54.03 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.349e-05/0.3143, allocations: 95.75 kB / 0.5703 GB, free: 30.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.3143, allocations: 30.7 kB / 0.5703 GB, free: 30.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-06/0.3143, allocations: 81.72 kB / 0.5704 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3143, allocations: 14.58 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.3143, allocations: 22.27 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.3144, allocations: 314.7 kB / 0.5707 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.3144, allocations: 13.53 kB / 0.5707 GB, free: 29.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.3144, allocations: 5.312 kB / 0.5707 GB, free: 29.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.3145, allocations: 26.94 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3145, allocations: 1.344 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.91e-05/0.3146, allocations: 54.92 kB / 0.5708 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3146, allocations: 9.906 kB / 0.5708 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3146, allocations: 6.281 kB / 0.5708 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3146, allocations: 0.7969 kB / 0.5708 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.3147, allocations: 10.36 kB / 0.5709 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3147, allocations: 3.062 kB / 0.5709 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.3147, allocations: 0 / 0.5709 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.3147, allocations: 1.531 kB / 0.5709 GB, free: 29.74 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 4.265e-05/0.3148, allocations: 108.8 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.3148, allocations: 6.25 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.3148, allocations: 8.562 kB / 0.571 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3148, allocations: 6.031 kB / 0.571 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3148, allocations: 0 / 0.571 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3148, allocations: 1.812 kB / 0.571 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.534e-05/0.3149, allocations: 157.7 kB / 0.5711 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3149, allocations: 0.7188 kB / 0.5711 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.315, allocations: 7.062 kB / 0.5711 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.315, allocations: 6.094 kB / 0.5711 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.315, allocations: 4 kB / 0.5711 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.315, allocations: 2.547 kB / 0.5712 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.315, allocations: 0 / 0.5712 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.046e-05/0.3151, allocations: 84.38 kB / 0.5712 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.3151, allocations: 80.27 kB / 0.5713 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.3151, allocations: 6.438 kB / 0.5713 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.3152, allocations: 1.844 kB / 0.5713 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.3152, allocations: 7.094 kB / 0.5713 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3152, allocations: 0.8125 kB / 0.5713 GB, free: 29.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.617e-05/0.3152, allocations: 78 kB / 0.5714 GB, free: 29.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3152, allocations: 0 / 0.5714 GB, free: 29.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.3154, allocations: 8.531 kB / 0.5714 GB, free: 29.15 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.0002119/0.3156, allocations: 0.6171 MB / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.75e-05/0.3157, allocations: 26.97 kB / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3157, allocations: 0 / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.3158, allocations: 14.14 kB / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.316, allocations: 13.14 kB / 0.5721 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.3164, allocations: 159.4 kB / 0.5722 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.3165, allocations: 0.676 MB / 0.5729 GB, free: 27.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.3165, allocations: 5.438 kB / 0.5729 GB, free: 27.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.3166, allocations: 8.562 kB / 0.5729 GB, free: 27.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3166, allocations: 0.75 kB / 0.5729 GB, free: 27.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.264/3.58, allocations: 1.293 MB / 0.5741 GB, free: 27.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/15.92, allocations: 9.5 kB / 0.5742 GB, free: 27.35 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)