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.001199/0.001199, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7029/0.7029, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.544/1.544, allocations: 221.3 MB / 400.4 MB, free: 5.789 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000935/0.0009352, allocations: 93.58 kB / 483.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.835e-05/3.839e-05, allocations: 2.969 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1553, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7809/0.9363, allocations: 111.6 MB / 0.7495 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.9367, allocations: 79.53 kB / 0.7495 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006203/0.9429, allocations: 1.513 MB / 0.751 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.943, allocations: 0 / 0.751 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.943, allocations: 0 / 0.751 GB, free: 27.74 MB / 0.5105 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.0003741/0.9434, allocations: 338.6 kB / 0.7513 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.9434, allocations: 7.812 kB / 0.7513 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.9435, allocations: 37.48 kB / 0.7514 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.9438, allocations: 13.16 kB / 0.7514 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.9439, allocations: 174.6 kB / 0.7515 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.944, allocations: 0 / 0.7515 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.944, allocations: 0 / 0.7515 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.9441, allocations: 42.3 kB / 0.7516 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.9442, allocations: 7.938 kB / 0.7516 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.9442, allocations: 0 / 0.7516 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.9442, allocations: 3.844 kB / 0.7516 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.9443, allocations: 11.25 kB / 0.7516 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.9445, allocations: 159.3 kB / 0.7518 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.9471, allocations: 273.4 kB / 0.752 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.9472, allocations: 20.05 kB / 0.752 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.9472, allocations: 0 / 0.752 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.9472, allocations: 44.42 kB / 0.7521 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.9472, allocations: 4 kB / 0.7521 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001786/0.9474, allocations: 51.17 kB / 0.7521 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.9475, allocations: 55.31 kB / 0.7522 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.9476, allocations: 85 kB / 0.7523 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.9476, allocations: 25.7 kB / 0.7523 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.9476, allocations: 80.14 kB / 0.7524 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.9477, allocations: 21.62 kB / 0.7524 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.9477, allocations: 3.938 kB / 0.7524 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9478, allocations: 315 kB / 0.7527 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.9479, allocations: 7.281 kB / 0.7527 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.9479, allocations: 10.75 kB / 0.7527 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.948, allocations: 13.19 kB / 0.7527 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.948, allocations: 0 / 0.7527 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001217/0.9481, allocations: 51.41 kB / 0.7528 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9481, allocations: 7.688 kB / 0.7528 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.9482, allocations: 0 / 0.7528 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.9482, allocations: 0 / 0.7528 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.9483, allocations: 9.359 kB / 0.7528 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.9483, allocations: 4 kB / 0.7528 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.9483, allocations: 3.844 kB / 0.7528 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.9484, allocations: 0 / 0.7528 GB, free: 26.15 MB / 0.5105 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.75e-05/0.9485, allocations: 107.3 kB / 0.7529 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.9485, allocations: 3.781 kB / 0.7529 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.9485, allocations: 12.23 kB / 0.7529 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.9485, allocations: 0 / 0.7529 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9486, allocations: 0.875 kB / 0.7529 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9486, allocations: 0 / 0.7529 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.9487, allocations: 155.4 kB / 0.7531 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.9487, allocations: 3.953 kB / 0.7531 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.9488, allocations: 14.48 kB / 0.7531 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.9488, allocations: 0 / 0.7531 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.9488, allocations: 7.938 kB / 0.7531 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9489, allocations: 0 / 0.7531 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9489, allocations: 0 / 0.7531 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.949, allocations: 82.59 kB / 0.7532 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.9491, allocations: 87.69 kB / 0.7533 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.9491, allocations: 3.844 kB / 0.7533 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.9492, allocations: 0 / 0.7533 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.9492, allocations: 0 / 0.7533 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.9493, allocations: 7.594 kB / 0.7533 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.9493, allocations: 78.19 kB / 0.7533 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9493, allocations: 0 / 0.7533 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003171/0.9497, allocations: 3.969 kB / 0.7533 GB, free: 25.58 MB / 0.5105 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.0004736/0.9501, allocations: 0.6179 MB / 0.7539 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.9503, allocations: 22.62 kB / 0.754 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9503, allocations: 0 / 0.754 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.9503, allocations: 19.22 kB / 0.754 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.9506, allocations: 15.2 kB / 0.754 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.951, allocations: 100.5 kB / 0.7541 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.9513, allocations: 0.6756 MB / 0.7548 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.84e-05/0.9514, allocations: 14.58 kB / 0.7548 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.9515, allocations: 11 kB / 0.7548 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of SimCode: time 3.8e-07/0.9515, allocations: 0 / 0.7548 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.9655, allocations: 1.075 MB / 0.7558 GB, free: 24 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.9657, allocations: 147.1 kB / 0.756 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.496, allocations: 0 / 0.756 GB, free: 23.79 MB / 0.5105 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)