Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_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.001417/0.001417, allocations: 108 kB / 15.61 MB, free: 152 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.0012/0.0012, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002415/0.002416, allocations: 291.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9237/0.9237, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 96.67 kB / 0.5954 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1423, allocations: 86.97 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002098/0.1444, allocations: 1.258 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004739/0.1449, allocations: 295.1 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.1449, allocations: 0 / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.145, allocations: 7.938 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.145, allocations: 3.984 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1453, allocations: 47.75 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.096e-05/0.1453, allocations: 19.88 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1454, allocations: 3.984 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.1454, allocations: 11.92 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.1455, allocations: 8 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1455, allocations: 0 / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1456, allocations: 59.95 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1456, allocations: 11.92 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1457, allocations: 4 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1458, allocations: 48.11 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1458, allocations: 0 / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1458, allocations: 0 / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1458, allocations: 0 / 0.682 GB, free: 14.82 MB / 494.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.0003142/0.1461, allocations: 335.5 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1462, allocations: 8.031 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.004e-05/0.1462, allocations: 38.75 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.1464, allocations: 20.91 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.679e-05/0.1465, allocations: 164.4 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1465, allocations: 384 / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.1465, allocations: 384 / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.1466, allocations: 42.25 kB / 0.6826 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1466, allocations: 7.875 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1467, allocations: 0 / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1467, allocations: 3.984 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.1467, allocations: 27.98 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.1469, allocations: 157.7 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.1487, allocations: 262.5 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.1487, allocations: 20.86 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.1487, allocations: 4 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1488, allocations: 38.48 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1488, allocations: 0 / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001599/0.1489, allocations: 69.53 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.149, allocations: 55.34 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.839e-05/0.149, allocations: 93.86 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1491, allocations: 29.7 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.1491, allocations: 80.14 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1491, allocations: 7.906 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1492, allocations: 17.7 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.1493, allocations: 318.8 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.1493, allocations: 4 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.1493, allocations: 8 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.653e-05/0.1494, allocations: 36.91 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1494, allocations: 0 / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.453e-05/0.1495, allocations: 53.61 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1495, allocations: 11.92 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1495, allocations: 4 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1495, allocations: 0 / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.1496, allocations: 4 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1496, allocations: 0 / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.1496, allocations: 3.938 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1496, allocations: 4 kB / 0.6839 GB, free: 12.69 MB / 494.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 6.96e-05/0.1497, allocations: 119.1 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.1497, allocations: 3.938 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1497, allocations: 11.5 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1497, allocations: 0 / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1498, allocations: 3.984 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1498, allocations: 0 / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1499, allocations: 157.7 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1499, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.083e-05/0.1499, allocations: 8 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1499, allocations: 3.938 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.15, allocations: 4.328 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.15, allocations: 0 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.15, allocations: 0 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1501, allocations: 81.11 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.1501, allocations: 85.02 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1502, allocations: 11.86 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/0.1502, allocations: 0 / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.1502, allocations: 7.938 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1503, allocations: 8 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.001e-05/0.1503, allocations: 75.28 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1503, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002021/0.1505, allocations: 12 kB / 0.6844 GB, free: 12.01 MB / 494.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.0003482/0.1509, allocations: 0.6164 MB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.151, allocations: 23.94 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.151, allocations: 0 / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.151, allocations: 15.98 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1513, allocations: 19.92 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.1517, allocations: 146.4 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.1519, allocations: 0.6768 MB / 0.6859 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.586e-05/0.1519, allocations: 4 kB / 0.6859 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.152, allocations: 11.44 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.152, allocations: 3.938 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.1675, allocations: 1.301 MB / 0.6872 GB, free: 9.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/6.993, allocations: 13.69 kB / 0.6872 GB, free: 9.215 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)