Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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_X,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_Buildings_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.001573/0.001573, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 188.3 kB / 16.62 MB, free: 6.609 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.672/1.672, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001392/0.001392, allocations: 69.75 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2301, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002651/0.2328, allocations: 1.27 MB / 0.7849 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005844/0.2334, allocations: 295.1 kB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.2334, allocations: 0 / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.2335, allocations: 0 / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.2335, allocations: 11.91 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.2338, allocations: 47.77 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.99e-05/0.2339, allocations: 23.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.234, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.725e-05/0.234, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.2341, allocations: 19.91 kB / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2341, allocations: 0 / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2342, allocations: 51.95 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.2342, allocations: 4 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.2343, allocations: 3.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.2345, allocations: 60.11 kB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2345, allocations: 0 / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2345, allocations: 0 / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.2345, allocations: 4 kB / 0.7854 GB, free: 11.49 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.0004056/0.2349, allocations: 339.5 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2349, allocations: 8.031 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.235, allocations: 30.75 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2352, allocations: 20.83 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2353, allocations: 164.4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2353, allocations: 4.375 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.2354, allocations: 4.375 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.2356, allocations: 42.25 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2356, allocations: 3.938 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2356, allocations: 7.938 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2356, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.998e-05/0.2357, allocations: 15.94 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.2358, allocations: 153.7 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2376, allocations: 274.4 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.2376, allocations: 20.84 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.2377, allocations: 0 / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.2377, allocations: 38.56 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2377, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001759/0.2379, allocations: 69.56 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2379, allocations: 51.41 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.238, allocations: 89.86 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.238, allocations: 25.7 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.2381, allocations: 80.14 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2381, allocations: 19.8 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.2381, allocations: 17.84 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2383, allocations: 314.8 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.2383, allocations: 4 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.2383, allocations: 11.98 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/0.2384, allocations: 29.12 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2384, allocations: 3.938 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.979e-05/0.2385, allocations: 53.69 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.2385, allocations: 7.938 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2385, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2385, allocations: 4 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.2386, allocations: 8 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2386, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.2386, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.2387, allocations: 0 / 0.7872 GB, free: 9.379 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/0.2387, allocations: 121.8 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.2388, allocations: 3.938 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.2388, allocations: 7.5 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2388, allocations: 0 / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2388, allocations: 4 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2388, allocations: 7.938 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2389, allocations: 157.6 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2389, allocations: 0 / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.239, allocations: 7.938 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.239, allocations: 3.938 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.239, allocations: 8 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.239, allocations: 0 / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.239, allocations: 0 / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.2391, allocations: 81.12 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.2392, allocations: 81.09 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2392, allocations: 7.938 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.2393, allocations: 0 / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.2393, allocations: 3.938 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.2393, allocations: 4 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.2394, allocations: 83.27 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2394, allocations: 0 / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002021/0.2396, allocations: 4 kB / 0.7878 GB, free: 8.699 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 (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.000382/0.24, allocations: 0.6203 MB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.478e-05/0.2401, allocations: 23.98 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2401, allocations: 0 / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.2401, allocations: 15.94 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.2404, allocations: 15.98 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.2408, allocations: 156.1 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.2411, allocations: 0.6729 MB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.2411, allocations: 7.984 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.2412, allocations: 11.44 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2412, allocations: 0 / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.2585, allocations: 1.303 MB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.84, allocations: 3.938 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)