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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8129/0.8129, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 180.8 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 87.45 kB / 0.5124 GB, free: 24.09 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001948/0.001948, allocations: 273 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.779e-05/3.782e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5573, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.696, allocations: 108.9 MB / 0.8707 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.6964, allocations: 76.61 kB / 0.8708 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004938/0.7013, allocations: 1.519 MB / 0.8723 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7014, allocations: 0 / 0.8723 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.7014, allocations: 0.75 kB / 0.8723 GB, free: 14.08 MB / 0.5417 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.0004192/0.7018, allocations: 331.2 kB / 0.8726 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.7019, allocations: 12.03 kB / 0.8726 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.702, allocations: 31.44 kB / 0.8726 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.7022, allocations: 20.78 kB / 0.8726 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.7024, allocations: 167 kB / 0.8728 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.7024, allocations: 7.5 kB / 0.8728 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.7025, allocations: 0 / 0.8728 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.7026, allocations: 41.69 kB / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.7027, allocations: 0 / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.7027, allocations: 4 kB / 0.8728 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.7027, allocations: 0 / 0.8728 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.7028, allocations: 15.94 kB / 0.8729 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.703, allocations: 157.5 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.7049, allocations: 281.6 kB / 0.8733 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.7049, allocations: 20.86 kB / 0.8733 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.705, allocations: 3.984 kB / 0.8733 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.705, allocations: 30.56 kB / 0.8733 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.984e-06/0.705, allocations: 0 / 0.8733 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.7052, allocations: 53.78 kB / 0.8734 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.7053, allocations: 59.28 kB / 0.8734 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.7053, allocations: 89 kB / 0.8735 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.7054, allocations: 25.7 kB / 0.8735 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.7054, allocations: 88.14 kB / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.7055, allocations: 11.75 kB / 0.8736 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.7055, allocations: 0 / 0.8736 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7057, allocations: 314.8 kB / 0.8739 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.7057, allocations: 12 kB / 0.874 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.7057, allocations: 8.125 kB / 0.874 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.7058, allocations: 8 kB / 0.874 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7058, allocations: 0 / 0.874 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.7059, allocations: 57.64 kB / 0.874 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.7059, allocations: 4 kB / 0.874 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.7059, allocations: 8 kB / 0.874 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.706, allocations: 0 / 0.874 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.706, allocations: 7.938 kB / 0.874 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.706, allocations: 0 / 0.874 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.7061, allocations: 3.906 kB / 0.874 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.7061, allocations: 4 kB / 0.8741 GB, free: 12.03 MB / 0.5417 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 () * 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 8.947e-05/0.7062, allocations: 113 kB / 0.8742 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.7062, allocations: 3.953 kB / 0.8742 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.7063, allocations: 7.5 kB / 0.8742 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7063, allocations: 4 kB / 0.8742 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7063, allocations: 0 / 0.8742 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7063, allocations: 0 / 0.8742 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.7064, allocations: 157.7 kB / 0.8743 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7065, allocations: 0 / 0.8743 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.7065, allocations: 8 kB / 0.8743 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.7065, allocations: 4 kB / 0.8743 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.7065, allocations: 3.953 kB / 0.8743 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7065, allocations: 0 / 0.8743 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7065, allocations: 0 / 0.8743 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.7067, allocations: 77.06 kB / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.7068, allocations: 85.09 kB / 0.8745 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.7068, allocations: 7.875 kB / 0.8745 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.7069, allocations: 7.953 kB / 0.8745 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.7069, allocations: 8 kB / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.7069, allocations: 0 / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.707, allocations: 75.28 kB / 0.8746 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.707, allocations: 0 / 0.8746 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001912/0.7072, allocations: 8 kB / 0.8746 GB, free: 11.38 MB / 0.5417 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 () * 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.0005032/0.7077, allocations: 0.6166 MB / 0.8752 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.7078, allocations: 27.97 kB / 0.8752 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7078, allocations: 0 / 0.8752 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.7079, allocations: 16 kB / 0.8752 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.7081, allocations: 19.88 kB / 0.8753 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.7085, allocations: 98.83 kB / 0.8754 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.7088, allocations: 0.677 MB / 0.876 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.067e-05/0.7089, allocations: 4 kB / 0.876 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.7089, allocations: 15.42 kB / 0.876 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.7089, allocations: 7.938 kB / 0.876 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.7214, allocations: 1.098 MB / 0.8771 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.7216, allocations: 172.8 kB / 0.8773 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.271, allocations: 0 / 0.8773 GB, free: 8.668 MB / 0.5417 GB (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/linux/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)