Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.7986/0.7986, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 184.8 kB / 182.2 MB, free: 9.426 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.424/1.424, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009706/0.0009708, allocations: 90.38 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 280.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.218e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4883, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.6381, allocations: 109.3 MB / 0.8642 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.6384, allocations: 79.95 kB / 0.8643 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.6572, allocations: 6.228 MB / 0.8704 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6573, allocations: 0 / 0.8704 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.6573, allocations: 4 kB / 0.8704 GB, free: 12.1 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.0004692/0.6578, allocations: 358.4 kB / 0.8708 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.6578, allocations: 12.03 kB / 0.8708 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.6581, allocations: 7.984 kB / 0.8708 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.6582, allocations: 167.1 kB / 0.8709 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.6582, allocations: 7.953 kB / 0.8709 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.6582, allocations: 4 kB / 0.8709 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/0.6583, allocations: 19.91 kB / 0.871 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.6584, allocations: 37.69 kB / 0.871 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6585, allocations: 4 kB / 0.871 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6585, allocations: 0 / 0.871 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.6585, allocations: 0 / 0.871 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.6587, allocations: 134.2 kB / 0.8711 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/0.6595, allocations: 118.6 kB / 0.8712 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.6596, allocations: 20.94 kB / 0.8713 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.6597, allocations: 85.11 kB / 0.8713 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6598, allocations: 42.45 kB / 0.8714 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.6598, allocations: 0 / 0.8714 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.66, allocations: 53.59 kB / 0.8714 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.66, allocations: 59.33 kB / 0.8715 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.6601, allocations: 89 kB / 0.8716 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.6601, allocations: 25.7 kB / 0.8716 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.6602, allocations: 84.14 kB / 0.8717 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.6602, allocations: 7.906 kB / 0.8717 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.6602, allocations: 0 / 0.8717 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6603, allocations: 310.8 kB / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.6603, allocations: 8 kB / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.6604, allocations: 7.984 kB / 0.872 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.6604, allocations: 15.94 kB / 0.872 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6604, allocations: 4.125 kB / 0.872 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.6605, allocations: 61.52 kB / 0.8721 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6606, allocations: 8 kB / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6606, allocations: 0 / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.6606, allocations: 3.953 kB / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.6607, allocations: 4 kB / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6607, allocations: 0 / 0.8721 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.6607, allocations: 4 kB / 0.8721 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.6607, allocations: 0 / 0.8721 GB, free: 10.15 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.546e-05/0.6608, allocations: 108.9 kB / 0.8722 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001036/0.6609, allocations: 61.62 kB / 0.8723 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.661, allocations: 7.953 kB / 0.8723 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.6612, allocations: 69.78 kB / 0.8723 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6612, allocations: 4 kB / 0.8723 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6612, allocations: 4 kB / 0.8723 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6612, allocations: 240 / 0.8723 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.6614, allocations: 138.1 kB / 0.8725 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6614, allocations: 0 / 0.8725 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.6614, allocations: 8 kB / 0.8725 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.6614, allocations: 3.984 kB / 0.8725 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.6615, allocations: 0 / 0.8725 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.6615, allocations: 3.953 kB / 0.8725 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6615, allocations: 4 kB / 0.8725 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.6616, allocations: 101.1 kB / 0.8726 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.6617, allocations: 77.11 kB / 0.8727 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.6617, allocations: 3.938 kB / 0.8727 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.6618, allocations: 4 kB / 0.8727 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.6618, allocations: 7.938 kB / 0.8727 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.6618, allocations: 4 kB / 0.8727 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.483e-05/0.6619, allocations: 75.28 kB / 0.8728 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6619, allocations: 0 / 0.8728 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002908/0.6622, allocations: 56.03 kB / 0.8728 GB, free: 9.328 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 (5): * Single equations (assignments): 5 * 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.0007237/0.6629, allocations: 0.6967 MB / 0.8735 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.987e-05/0.663, allocations: 16 kB / 0.8735 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.663, allocations: 4 kB / 0.8735 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.663, allocations: 16 kB / 0.8735 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.6632, allocations: 16.5 kB / 0.8735 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.6636, allocations: 117.5 kB / 0.8736 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.6639, allocations: 0.6807 MB / 0.8743 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.233e-05/0.664, allocations: 15.98 kB / 0.8743 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.664, allocations: 9.312 kB / 0.8743 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.664, allocations: 4 kB / 0.8743 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.6852, allocations: 1.404 MB / 0.8757 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.6855, allocations: 195 kB / 0.8759 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.387, allocations: 0 / 0.8759 GB, free: 6.023 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)