Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.000983/0.0009832, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001193/0.001193, allocations: 172.7 kB / 15.95 MB, free: 208 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.968/1.968, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.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.873/1.873, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005495/0.0005496, allocations: 13.59 kB / 0.6738 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3104, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001867/0.3124, allocations: 0.9938 MB / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3141, allocations: 0.8485 MB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.3142, allocations: 0 / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.3142, allocations: 7.984 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.3143, allocations: 3.938 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000794/0.3151, allocations: 151.6 kB / 0.7894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.3152, allocations: 15.94 kB / 0.7894 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.299e-05/0.3152, allocations: 11.97 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.3153, allocations: 7.938 kB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.3153, allocations: 4 kB / 0.7894 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3154, allocations: 4 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.3158, allocations: 174.5 kB / 0.7896 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.3158, allocations: 0 / 0.7896 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.3159, allocations: 33.64 kB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.3162, allocations: 108.1 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3162, allocations: 3.938 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3162, allocations: 0 / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3162, allocations: 0 / 0.7897 GB, free: 9.461 MB / 0.6075 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.0005156/0.3167, allocations: 363.2 kB / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3168, allocations: 12.03 kB / 0.7901 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.3168, allocations: 30.56 kB / 0.7901 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.317, allocations: 11.94 kB / 0.7901 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3172, allocations: 159.1 kB / 0.7903 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3172, allocations: 8 kB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3172, allocations: 0 / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3174, allocations: 41.69 kB / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3174, allocations: 0 / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3174, allocations: 4 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3174, allocations: 7.938 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.803e-05/0.3175, allocations: 15.98 kB / 0.7903 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.3177, allocations: 165.6 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.3185, allocations: 118.6 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.3185, allocations: 16.86 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.3187, allocations: 93.08 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3187, allocations: 34.56 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3187, allocations: 4 kB / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002055/0.3189, allocations: 61.62 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.319, allocations: 51.41 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.3191, allocations: 93.84 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3191, allocations: 29.7 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.3192, allocations: 84.14 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3192, allocations: 7.812 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.3192, allocations: 0 / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3193, allocations: 318.9 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.3194, allocations: 8 kB / 0.7914 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.3194, allocations: 15.98 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.3194, allocations: 4 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3195, allocations: 3.938 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.284e-05/0.3196, allocations: 57.62 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3196, allocations: 4 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3196, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3196, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.3197, allocations: 8 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.3197, allocations: 11.97 kB / 0.7915 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.3197, allocations: 4 kB / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3198, allocations: 4 kB / 0.7915 GB, free: 7.402 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.3199, allocations: 110.5 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.3199, allocations: 3.938 kB / 0.7916 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.3203, allocations: 89.02 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3203, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3203, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3203, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.3205, allocations: 169.5 kB / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3205, allocations: 0 / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.3206, allocations: 7.984 kB / 0.7918 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.3206, allocations: 4 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.3206, allocations: 0 / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3206, allocations: 4 kB / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3206, allocations: 0 / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.3208, allocations: 93.08 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.3209, allocations: 85.11 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3209, allocations: 3.984 kB / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.321, allocations: 0 / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.321, allocations: 4 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.321, allocations: 0 / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.756e-05/0.3211, allocations: 79.28 kB / 0.7921 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3211, allocations: 0 / 0.7921 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003186/0.3214, allocations: 47.98 kB / 0.7921 GB, free: 6.605 MB / 0.6075 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 (5): * Single equations (assignments): 5 * 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.001054/0.3225, allocations: 0.6888 MB / 0.7928 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.3227, allocations: 31.91 kB / 0.7928 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3227, allocations: 0 / 0.7928 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.3227, allocations: 16 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.323, allocations: 11.94 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.3237, allocations: 178.2 kB / 0.793 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.3241, allocations: 0.6848 MB / 0.7937 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.569e-05/0.3242, allocations: 11.98 kB / 0.7937 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.3242, allocations: 7.438 kB / 0.7937 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.3242, allocations: 0 / 0.7937 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.3403, allocations: 1.706 MB / 0.7954 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.3406, allocations: 236.5 kB / 0.7956 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.037, allocations: 0 / 0.7956 GB, free: 3.098 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) Environment - environmentSimulation: