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.0009987/0.0009987, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005913/0.005913, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 274.9 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9125/0.9125, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 15.53 kB / 0.5988 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001065/0.1371, allocations: 0.9883 MB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004902/0.1376, allocations: 292.9 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.102e-05/0.1376, allocations: 1.156 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.1376, allocations: 4 kB / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.1377, allocations: 5.453 kB / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1379, allocations: 43.75 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.075e-05/0.1379, allocations: 21.16 kB / 0.6866 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.009e-05/0.1379, allocations: 0 / 0.6866 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.138, allocations: 11.98 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/0.138, allocations: 4 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.138, allocations: 3.156 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1381, allocations: 55.95 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.1382, allocations: 7.922 kB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1382, allocations: 29.7 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.1383, allocations: 52.11 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1383, allocations: 0 / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1383, allocations: 4 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1383, allocations: 0 / 0.6867 GB, free: 13.44 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.0002791/0.1386, allocations: 330.6 kB / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1386, allocations: 8.031 kB / 0.687 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.1387, allocations: 39.34 kB / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.1389, allocations: 14.98 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.245e-05/0.139, allocations: 168.4 kB / 0.6872 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.139, allocations: 4.312 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.139, allocations: 384 / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.504e-05/0.1391, allocations: 43 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1391, allocations: 6.281 kB / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.1391, allocations: 0 / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1391, allocations: 0 / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.1392, allocations: 15.98 kB / 0.6873 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.1393, allocations: 165.6 kB / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.141, allocations: 270.1 kB / 0.6877 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.1411, allocations: 25.38 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1411, allocations: 5.219 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1411, allocations: 30.56 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1411, allocations: 4 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001362/0.1413, allocations: 69.53 kB / 0.6879 GB, free: 12.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1413, allocations: 51.41 kB / 0.6879 GB, free: 12.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.328e-05/0.1413, allocations: 97.78 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1414, allocations: 29.7 kB / 0.688 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.1414, allocations: 84.08 kB / 0.6881 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1414, allocations: 7.906 kB / 0.6881 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.1414, allocations: 9.719 kB / 0.6881 GB, free: 11.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.1415, allocations: 319 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.1416, allocations: 11.98 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.1416, allocations: 8 kB / 0.6885 GB, free: 11.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/0.1416, allocations: 29.12 kB / 0.6885 GB, free: 11.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1416, allocations: 0 / 0.6885 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.088e-05/0.1417, allocations: 57.59 kB / 0.6885 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1417, allocations: 9.812 kB / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1417, allocations: 0 / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.1418, allocations: 0 / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.1418, allocations: 7.938 kB / 0.6886 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1418, allocations: 11.98 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.1419, allocations: 3.938 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1419, allocations: 3.984 kB / 0.6886 GB, free: 11.32 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 5.388e-05/0.1419, allocations: 107.2 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.1419, allocations: 11.94 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.142, allocations: 3.5 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.142, allocations: 0 / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.142, allocations: 0 / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.142, allocations: 0 / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.729e-05/0.1421, allocations: 165.7 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1421, allocations: 0 / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.1421, allocations: 4 kB / 0.6888 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1421, allocations: 3.938 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.1422, allocations: 0 / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1422, allocations: 0 / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.1422, allocations: 4 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.559e-05/0.1423, allocations: 85.05 kB / 0.6889 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1423, allocations: 81.11 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1423, allocations: 7.938 kB / 0.689 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.1424, allocations: 11.88 kB / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.1424, allocations: 0 / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1424, allocations: 3.984 kB / 0.689 GB, free: 10.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.111e-05/0.1425, allocations: 79.28 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1425, allocations: 0 / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001639/0.1426, allocations: 4 kB / 0.6891 GB, free: 10.66 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.0002997/0.1429, allocations: 0.6241 MB / 0.6897 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.143, allocations: 23.98 kB / 0.6897 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.143, allocations: 0 / 0.6897 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.143, allocations: 12 kB / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.1432, allocations: 11.98 kB / 0.6898 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.1436, allocations: 166.2 kB / 0.6899 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.1438, allocations: 0.6731 MB / 0.6906 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.1438, allocations: 8.312 kB / 0.6906 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.1439, allocations: 11.44 kB / 0.6906 GB, free: 9.035 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1439, allocations: 0 / 0.6906 GB, free: 9.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4609/0.6047, allocations: 1.116 MB / 0.6917 GB, free: 8.09 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.605, allocations: 220.6 kB / 0.6919 GB, free: 7.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.636, allocations: 5.828 kB / 0.6919 GB, free: 7.832 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)