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.001654/0.001654, allocations: 180.9 kB / 7.65 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.8657/0.8657, allocations: 133.6 MB / 141.6 MB, free: 2.836 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.414/1.414, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0009945/0.0009943, allocations: 102 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.12e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4246, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5813, allocations: 110.9 MB / 0.7422 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.5816, allocations: 79.94 kB / 0.7423 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004183/0.5858, allocations: 1.505 MB / 0.7438 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5858, allocations: 0 / 0.7438 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5858, allocations: 0 / 0.7438 GB, free: 10.21 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.0002956/0.5861, allocations: 340.3 kB / 0.7441 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5862, allocations: 8.031 kB / 0.7441 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.5864, allocations: 19.98 kB / 0.7441 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.5865, allocations: 170.9 kB / 0.7443 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5865, allocations: 0 / 0.7443 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.5866, allocations: 4 kB / 0.7443 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.857e-05/0.5866, allocations: 12 kB / 0.7443 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.969e-05/0.5867, allocations: 41.69 kB / 0.7443 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5867, allocations: 0 / 0.7443 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5868, allocations: 0 / 0.7443 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.5868, allocations: 0 / 0.7443 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.5869, allocations: 138.2 kB / 0.7445 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.5887, allocations: 266.4 kB / 0.7447 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.5888, allocations: 20.86 kB / 0.7447 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.5888, allocations: 3.984 kB / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.5888, allocations: 38.5 kB / 0.7448 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5888, allocations: 0 / 0.7448 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001331/0.589, allocations: 49.78 kB / 0.7448 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.589, allocations: 51.41 kB / 0.7449 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.401e-05/0.5891, allocations: 89 kB / 0.745 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5891, allocations: 29.83 kB / 0.745 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.5891, allocations: 80.14 kB / 0.7451 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.5892, allocations: 19.73 kB / 0.7451 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.5892, allocations: 3.938 kB / 0.7451 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5893, allocations: 314.8 kB / 0.7454 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.5893, allocations: 4 kB / 0.7454 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.5893, allocations: 8 kB / 0.7454 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.5894, allocations: 8 kB / 0.7454 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5894, allocations: 0 / 0.7454 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.137e-05/0.5894, allocations: 57.64 kB / 0.7455 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5895, allocations: 5.562 kB / 0.7455 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5895, allocations: 0 / 0.7455 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5895, allocations: 0 / 0.7455 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.5895, allocations: 7.984 kB / 0.7455 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5896, allocations: 4 kB / 0.7455 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.5896, allocations: 3.938 kB / 0.7455 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.5896, allocations: 0 / 0.7455 GB, free: 8.25 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 7.014e-05/0.5897, allocations: 104.9 kB / 0.7456 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.088e-05/0.5898, allocations: 61.64 kB / 0.7456 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-06/0.5898, allocations: 0 / 0.7456 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.5898, allocations: 8.125 kB / 0.7457 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5898, allocations: 4 kB / 0.7457 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5898, allocations: 0 / 0.7457 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5898, allocations: 0 / 0.7457 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.636e-05/0.5899, allocations: 138.1 kB / 0.7458 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5899, allocations: 0 / 0.7458 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.59, allocations: 11.95 kB / 0.7458 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.59, allocations: 4 kB / 0.7458 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.59, allocations: 0 / 0.7458 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.59, allocations: 11.94 kB / 0.7458 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.59, allocations: 0 / 0.7458 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.433e-05/0.5901, allocations: 73.06 kB / 0.7459 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.5902, allocations: 85.09 kB / 0.746 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.5902, allocations: 3.953 kB / 0.746 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.474e-05/0.5903, allocations: 0 / 0.746 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.5903, allocations: 4 kB / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.5903, allocations: 0 / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.671e-05/0.5903, allocations: 79.28 kB / 0.7461 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5903, allocations: 0 / 0.7461 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001728/0.5905, allocations: 8 kB / 0.7461 GB, free: 7.578 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.0003573/0.5909, allocations: 0.6049 MB / 0.7466 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.338e-05/0.591, allocations: 32.06 kB / 0.7467 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.591, allocations: 0 / 0.7467 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.591, allocations: 8 kB / 0.7467 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.5912, allocations: 23.92 kB / 0.7467 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.5915, allocations: 93.58 kB / 0.7468 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.5918, allocations: 0.6807 MB / 0.7475 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.5918, allocations: 4 kB / 0.7475 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.5919, allocations: 11.44 kB / 0.7475 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.5919, allocations: 0 / 0.7475 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.6097, allocations: 0.7853 MB / 0.7482 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.6099, allocations: 133 kB / 0.7484 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/2.051, allocations: 0 / 0.7484 GB, free: 5.062 MB / 0.5261 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)