Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 103 kB / 15.06 MB, free: 1.098 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.002739/0.002739, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.682/3.682, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.086/3.086, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 15.84 kB / 0.6737 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5604, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002375/0.5628, allocations: 0.9726 MB / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.5638, allocations: 261.1 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.5639, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.5639, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.564, allocations: 3.984 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.5645, allocations: 51.8 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.5646, allocations: 11.98 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.283e-05/0.5646, allocations: 7.984 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.5647, allocations: 4 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.5648, allocations: 3.938 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.5649, allocations: 4 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.5651, allocations: 51.95 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.5651, allocations: 7.984 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.5652, allocations: 29.7 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.5654, allocations: 40.19 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5654, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.446e-06/0.5654, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.5654, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 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.0006865/0.5661, allocations: 331.4 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.798e-05/0.5662, allocations: 12.03 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.879e-05/0.5663, allocations: 30.56 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.5667, allocations: 23.88 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.567, allocations: 171 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.567, allocations: 4 kB / 0.7892 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.567, allocations: 4 kB / 0.7892 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.5672, allocations: 45.56 kB / 0.7892 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5673, allocations: 0 / 0.7892 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.5673, allocations: 0 / 0.7892 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5673, allocations: 4 kB / 0.7892 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.5674, allocations: 15.98 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.5678, allocations: 157.6 kB / 0.7894 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.5711, allocations: 278.4 kB / 0.7897 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.5711, allocations: 4 kB / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.953e-05/0.5712, allocations: 30.56 kB / 0.7897 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.5712, allocations: 0 / 0.7897 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003022/0.5715, allocations: 61.78 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.5716, allocations: 51.41 kB / 0.7898 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5717, allocations: 89.86 kB / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5718, allocations: 29.7 kB / 0.7899 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.5718, allocations: 84.25 kB / 0.79 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.5719, allocations: 15.81 kB / 0.79 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.5719, allocations: 3.938 kB / 0.79 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.5721, allocations: 314.8 kB / 0.7903 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.5722, allocations: 11.94 kB / 0.7903 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.5722, allocations: 15.98 kB / 0.7904 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.5723, allocations: 8 kB / 0.7904 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5723, allocations: 0 / 0.7904 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000152/0.5725, allocations: 53.69 kB / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.5725, allocations: 4 kB / 0.7904 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5725, allocations: 4 kB / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.5726, allocations: 0 / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.5727, allocations: 8 kB / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5727, allocations: 0 / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.5728, allocations: 0 / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5728, allocations: 0 / 0.7904 GB, free: 8.383 MB / 0.6075 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.573, allocations: 121.7 kB / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.573, allocations: 0 / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.5731, allocations: 11.48 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5731, allocations: 4 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5731, allocations: 4.266 kB / 0.7906 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.5731, allocations: 4 kB / 0.7906 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.5734, allocations: 165.6 kB / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5734, allocations: 0 / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.5735, allocations: 4 kB / 0.7907 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5735, allocations: 3.984 kB / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.5736, allocations: 0 / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5736, allocations: 8 kB / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5736, allocations: 0 / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.5738, allocations: 81.03 kB / 0.7908 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5739, allocations: 85.05 kB / 0.7909 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.574, allocations: 0 / 0.7909 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5741, allocations: 8 kB / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.5741, allocations: 3.938 kB / 0.7909 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.5741, allocations: 0 / 0.7909 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.5742, allocations: 79.28 kB / 0.791 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5742, allocations: 0 / 0.791 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003615/0.5746, allocations: 8.094 kB / 0.791 GB, free: 7.699 MB / 0.6075 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 () * 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 (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.0006924/0.5753, allocations: 0.6203 MB / 0.7916 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.5755, allocations: 27.92 kB / 0.7916 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5755, allocations: 0 / 0.7916 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.5756, allocations: 12 kB / 0.7916 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.576, allocations: 19.92 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.5767, allocations: 154.3 kB / 0.7918 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.5771, allocations: 0.6848 MB / 0.7925 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.75e-05/0.5772, allocations: 4 kB / 0.7925 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.5773, allocations: 11.44 kB / 0.7925 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.5773, allocations: 0 / 0.7925 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.6012, allocations: 1.08 MB / 0.7935 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004241/0.6017, allocations: 188.5 kB / 0.7937 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/3.542, allocations: 0 / 0.7937 GB, free: 4.883 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: