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.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009697/0.0009695, allocations: 171.4 kB / 316.3 MB, free: 3.27 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.603/1.603, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008285/0.0008285, allocations: 80.59 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.907e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1923, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6261/0.8185, allocations: 132.2 MB / 1.014 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.8188, allocations: 74.77 kB / 1.014 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003912/0.8227, allocations: 1.473 MB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8227, allocations: 0 / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8227, allocations: 4 kB / 1.016 GB, free: 4.234 MB / 0.6355 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.000293/0.823, allocations: 330.5 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.8231, allocations: 8.031 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.8233, allocations: 19.67 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.8235, allocations: 163 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.8235, allocations: 0 / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.8235, allocations: 3.984 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.497e-05/0.8236, allocations: 19.62 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.28e-05/0.8237, allocations: 45.36 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.8237, allocations: 0 / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.8237, allocations: 0 / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.8237, allocations: 4 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.8239, allocations: 133.8 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.8256, allocations: 265.8 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.8256, allocations: 20.23 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.8256, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.8257, allocations: 38.5 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.8257, allocations: 4 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001582/0.8259, allocations: 45.47 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.8259, allocations: 51.41 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.826, allocations: 88.69 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.826, allocations: 25.7 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.8261, allocations: 84.14 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.8261, allocations: 15.73 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.8261, allocations: 0 / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8263, allocations: 315 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.8263, allocations: 7.625 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.8263, allocations: 11.69 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.8263, allocations: 8.469 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8264, allocations: 0 / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.24e-05/0.8264, allocations: 57.2 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.8265, allocations: 8 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.8265, allocations: 4 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.8265, allocations: 0 / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.8266, allocations: 4 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.8266, allocations: 7.984 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.8266, allocations: 0 / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.8266, allocations: 7.938 kB / 1.018 GB, free: 2.328 MB / 0.6355 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.77e-05/0.8267, allocations: 105.9 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.632e-05/0.8268, allocations: 60.86 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.8268, allocations: 3.938 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.8269, allocations: 7.75 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.8269, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8269, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8269, allocations: 8 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.827, allocations: 138.1 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.827, allocations: 3.953 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.8271, allocations: 4 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8271, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.8271, allocations: 3.984 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8271, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8271, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.8272, allocations: 76.38 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.8274, allocations: 89.05 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.8274, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.8274, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.8275, allocations: 4 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.8275, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.8275, allocations: 79.22 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8275, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001838/0.8277, allocations: 8 kB / 1.018 GB, free: 1.68 MB / 0.6355 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.0004459/0.8282, allocations: 0.619 MB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.317e-05/0.8282, allocations: 19.31 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8283, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.8283, allocations: 15.88 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.8285, allocations: 22.17 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.8288, allocations: 89.22 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.829, allocations: 0.6807 MB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.251e-05/0.8291, allocations: 7.859 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.8291, allocations: 11.44 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.8291, allocations: 0 / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.8468, allocations: 0.7993 MB / 1.02 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.8471, allocations: 168.4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.368/2.215, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.6511 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)