Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 176.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 95.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003647, allocations: 9.094 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001261/0.2404, allocations: 0.9766 MB / 0.9011 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004231/0.2408, allocations: 261.4 kB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.2409, allocations: 0 / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.2409, allocations: 0 / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.241, allocations: 15.92 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.2412, allocations: 35.94 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.61e-05/0.2412, allocations: 11.98 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.2413, allocations: 3.984 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.2413, allocations: 11.92 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.2414, allocations: 8 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.2414, allocations: 0 / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.2415, allocations: 63.83 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-06/0.2415, allocations: 3.984 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.2416, allocations: 29.7 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.836e-05/0.2417, allocations: 31.97 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2417, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2417, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.2417, allocations: 4 kB / 0.9016 GB, free: 62.38 MB / 0.6042 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.0003202/0.242, allocations: 331.6 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.2421, allocations: 8.031 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.2421, allocations: 34.5 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.2423, allocations: 23.97 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.316e-05/0.2424, allocations: 163 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2424, allocations: 4 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.2424, allocations: 0 / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2425, allocations: 41.69 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2426, allocations: 0 / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2426, allocations: 4 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2426, allocations: 0 / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.2426, allocations: 15.98 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.2428, allocations: 161.6 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.2445, allocations: 278.4 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.2445, allocations: 0 / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.2445, allocations: 34.56 kB / 0.9026 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2445, allocations: 0 / 0.9026 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001594/0.2447, allocations: 65.62 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2448, allocations: 59.34 kB / 0.9027 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.276e-05/0.2448, allocations: 89.86 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.2448, allocations: 25.83 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.2448, allocations: 84.14 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2449, allocations: 19.83 kB / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.2449, allocations: 0 / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.245, allocations: 310.8 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.245, allocations: 8 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.245, allocations: 7.984 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/0.245, allocations: 11.95 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.245, allocations: 4 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.326e-05/0.2451, allocations: 49.97 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2451, allocations: 12 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2451, allocations: 3.938 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2452, allocations: 0 / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.2452, allocations: 4 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2452, allocations: 0 / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.2453, allocations: 7.891 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2453, allocations: 15.97 kB / 0.9034 GB, free: 60.31 MB / 0.6042 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 7.066e-05/0.2454, allocations: 111.9 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.2454, allocations: 4 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.2454, allocations: 15.48 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2454, allocations: 0 / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2454, allocations: 0 / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2454, allocations: 0 / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.868e-05/0.2455, allocations: 153.7 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2455, allocations: 3.953 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.2456, allocations: 8 kB / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2456, allocations: 0 / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2456, allocations: 0 / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2456, allocations: 4 kB / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2456, allocations: 0 / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.2457, allocations: 85.06 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.2458, allocations: 89.05 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2458, allocations: 3.938 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.2459, allocations: 0 / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2459, allocations: 4 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2459, allocations: 0 / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.067e-05/0.2459, allocations: 83.28 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2459, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001872/0.2461, allocations: 8 kB / 0.9039 GB, free: 59.65 MB / 0.6042 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 (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.0002984/0.2464, allocations: 0.6201 MB / 0.9045 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.2465, allocations: 20 kB / 0.9045 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2465, allocations: 4.094 kB / 0.9045 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.2465, allocations: 15.98 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.2468, allocations: 8 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.2472, allocations: 170.4 kB / 0.9047 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2473, allocations: 0.6731 MB / 0.9054 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.225e-05/0.2474, allocations: 15.84 kB / 0.9054 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.2474, allocations: 11.44 kB / 0.9054 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2474, allocations: 0 / 0.9054 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.2594, allocations: 1.092 MB / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.2596, allocations: 202.9 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.738, allocations: 0 / 0.9067 GB, free: 56.86 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)