Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00844/0.00844, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8835/0.8835, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0008817/0.0008815, allocations: 91.36 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003787, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4913, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.6472, allocations: 111.6 MB / 0.7585 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.6475, allocations: 79.89 kB / 0.7586 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004187/0.6517, allocations: 1.52 MB / 0.7601 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.817e-06/0.6518, allocations: 0 / 0.7601 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6518, allocations: 3.938 kB / 0.7601 GB, free: 2.727 MB / 0.5261 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.0003387/0.6521, allocations: 339.4 kB / 0.7604 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6522, allocations: 12.03 kB / 0.7604 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.6522, allocations: 30.56 kB / 0.7605 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.6524, allocations: 27.88 kB / 0.7605 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.6525, allocations: 163 kB / 0.7607 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6526, allocations: 4 kB / 0.7607 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.6526, allocations: 0 / 0.7607 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.6527, allocations: 45.67 kB / 0.7607 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6527, allocations: 0 / 0.7607 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.6527, allocations: 0 / 0.7607 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6527, allocations: 0 / 0.7607 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.6528, allocations: 27.86 kB / 0.7607 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.653, allocations: 165.6 kB / 0.7609 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.6549, allocations: 266.5 kB / 0.7611 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.655, allocations: 8 kB / 0.7611 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.655, allocations: 30.56 kB / 0.7612 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.655, allocations: 0 / 0.7612 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001718/0.6552, allocations: 65.72 kB / 0.7612 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.6552, allocations: 51.41 kB / 0.7613 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.6553, allocations: 85 kB / 0.7614 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.6553, allocations: 25.7 kB / 0.7614 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.6553, allocations: 84.27 kB / 0.7615 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.6554, allocations: 23.73 kB / 0.7615 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.6554, allocations: 0 / 0.7615 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6555, allocations: 310.8 kB / 0.7618 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.6555, allocations: 8 kB / 0.7618 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.6555, allocations: 11.98 kB / 0.7618 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.342e-05/0.6556, allocations: 12 kB / 0.7618 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6556, allocations: 3.953 kB / 0.7618 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.994e-05/0.6557, allocations: 57.62 kB / 0.7619 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6557, allocations: 8 kB / 0.7619 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6557, allocations: 0 / 0.7619 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6557, allocations: 0 / 0.7619 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.6558, allocations: 4 kB / 0.7619 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6558, allocations: 4 kB / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.6558, allocations: 0 / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.6558, allocations: 0 / 0.7619 GB, free: 0.6719 MB / 0.5261 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 7.807e-05/0.6559, allocations: 108.1 kB / 0.762 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.656, allocations: 11.89 kB / 0.762 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.656, allocations: 11.5 kB / 0.762 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.656, allocations: 3.984 kB / 0.762 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.656, allocations: 0 / 0.762 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.656, allocations: 0 / 0.762 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.6562, allocations: 165.6 kB / 0.7622 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6562, allocations: 0 / 0.7622 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.6562, allocations: 7.953 kB / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6562, allocations: 0 / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.6562, allocations: 0 / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6562, allocations: 4 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6563, allocations: 7.938 kB / 0.7622 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.6564, allocations: 85.34 kB / 0.7623 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.6565, allocations: 81.09 kB / 0.7624 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.6565, allocations: 3.953 kB / 0.7624 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.6565, allocations: 8 kB / 0.7624 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.6566, allocations: 0 / 0.7624 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.6566, allocations: 0 / 0.7624 GB, free: 88 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.6566, allocations: 79.28 kB / 0.7624 GB, free: 8 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6566, allocations: 4 kB / 0.7625 GB, free: 4 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001727/0.6568, allocations: 4 kB / 0.7625 GB, free: 0 / 0.5261 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.0004221/0.6572, allocations: 0.6124 MB / 0.7631 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.606e-05/0.6573, allocations: 24 kB / 0.7631 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6573, allocations: 96 / 0.7631 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/0.6574, allocations: 23.92 kB / 0.7631 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.6576, allocations: 7.953 kB / 0.7631 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.658, allocations: 166.4 kB / 0.7633 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.6583, allocations: 0.6731 MB / 0.7639 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.188e-05/0.6583, allocations: 11.98 kB / 0.7639 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.6584, allocations: 7.438 kB / 0.7639 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/0.6584, allocations: 3.938 kB / 0.7639 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.6702, allocations: 1.049 MB / 0.765 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.6704, allocations: 181.3 kB / 0.7651 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.18, allocations: 6.75 kB / 0.7651 GB, free: 13.19 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)