Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_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.001372/0.001372, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7611/0.7611, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009212/0.0009212, allocations: 106.8 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.457e-05, allocations: 4 kB / 0.5536 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4106, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.5505, allocations: 110.9 MB / 0.7422 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.5507, allocations: 75.95 kB / 0.7423 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004076/0.5548, allocations: 1.505 MB / 0.7438 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5548, allocations: 0 / 0.7438 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.5548, allocations: 0 / 0.7438 GB, free: 10.22 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.0002802/0.5551, allocations: 334.5 kB / 0.7441 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5552, allocations: 8.031 kB / 0.7441 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.5554, allocations: 15.98 kB / 0.7441 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.5555, allocations: 178.9 kB / 0.7443 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5555, allocations: 0 / 0.7443 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.5555, allocations: 4 kB / 0.7443 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.854e-05/0.5556, allocations: 12 kB / 0.7443 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.612e-05/0.5557, allocations: 41.69 kB / 0.7443 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5557, allocations: 0 / 0.7443 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5557, allocations: 3.984 kB / 0.7443 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5557, allocations: 0 / 0.7443 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.5559, allocations: 142.2 kB / 0.7445 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.5577, allocations: 266.4 kB / 0.7447 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.5578, allocations: 24.8 kB / 0.7448 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.5578, allocations: 3.938 kB / 0.7448 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5579, allocations: 34.56 kB / 0.7448 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5579, allocations: 0 / 0.7448 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001285/0.558, allocations: 49.78 kB / 0.7448 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.558, allocations: 51.41 kB / 0.7449 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.611e-05/0.5581, allocations: 89 kB / 0.745 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.5581, allocations: 25.7 kB / 0.745 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.5581, allocations: 84.27 kB / 0.7451 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.5582, allocations: 19.73 kB / 0.7451 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.5582, allocations: 0 / 0.7451 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5583, allocations: 314.8 kB / 0.7454 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.5584, allocations: 8 kB / 0.7454 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.5584, allocations: 7.938 kB / 0.7454 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.5584, allocations: 8 kB / 0.7454 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5584, allocations: 0 / 0.7454 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.064e-05/0.5585, allocations: 53.64 kB / 0.7455 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5585, allocations: 8 kB / 0.7455 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5585, allocations: 0 / 0.7455 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5585, allocations: 0 / 0.7455 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.5586, allocations: 7.984 kB / 0.7455 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5586, allocations: 4 kB / 0.7455 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.5586, allocations: 0 / 0.7455 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.5586, allocations: 0 / 0.7455 GB, free: 8.258 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 () * 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 6.965e-05/0.5587, allocations: 105 kB / 0.7456 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.592e-05/0.5588, allocations: 57.58 kB / 0.7456 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.5588, allocations: 4 kB / 0.7456 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.5588, allocations: 8.125 kB / 0.7457 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.5589, allocations: 4 kB / 0.7457 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5589, allocations: 0 / 0.7457 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5589, allocations: 0 / 0.7457 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.831e-05/0.559, allocations: 138.1 kB / 0.7458 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.559, allocations: 0 / 0.7458 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.559, allocations: 7.953 kB / 0.7458 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.559, allocations: 3.938 kB / 0.7458 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.5591, allocations: 4 kB / 0.7458 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5591, allocations: 0 / 0.7458 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5591, allocations: 4 kB / 0.7458 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.897e-05/0.5592, allocations: 81.28 kB / 0.7459 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.5592, allocations: 81.09 kB / 0.746 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.5593, allocations: 3.953 kB / 0.746 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.5593, allocations: 0 / 0.746 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.5593, allocations: 4 kB / 0.746 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.5593, allocations: 3.938 kB / 0.746 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.986e-05/0.5594, allocations: 83.27 kB / 0.7461 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5594, allocations: 0 / 0.7461 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001738/0.5596, allocations: 8 kB / 0.7461 GB, free: 7.582 MB / 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 () * 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.0003328/0.5599, allocations: 0.602 MB / 0.7466 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.56, allocations: 23.94 kB / 0.7467 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.56, allocations: 4.094 kB / 0.7467 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.56, allocations: 12 kB / 0.7467 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.5602, allocations: 15.94 kB / 0.7467 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.5605, allocations: 93.58 kB / 0.7468 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.5607, allocations: 0.6807 MB / 0.7475 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.738e-05/0.5608, allocations: 4 kB / 0.7475 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.5608, allocations: 15.42 kB / 0.7475 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.5608, allocations: 0 / 0.7475 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.5797, allocations: 0.783 MB / 0.7482 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.5799, allocations: 142 kB / 0.7484 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.064, allocations: 0 / 0.7484 GB, free: 5.074 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)