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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007056/0.007056, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001291/0.001291, allocations: 195.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8677/0.8677, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 61.97 kB / 0.5809 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1881, allocations: 80.22 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002392/0.1905, allocations: 1.244 MB / 0.6604 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006123/0.1912, allocations: 305.8 kB / 0.6607 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.1912, allocations: 0 / 0.6607 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1912, allocations: 0 / 0.6607 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.595e-05/0.1913, allocations: 7.922 kB / 0.6607 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1916, allocations: 55.75 kB / 0.6608 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.1917, allocations: 19.92 kB / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.1917, allocations: 0 / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.075e-05/0.1918, allocations: 11.88 kB / 0.6608 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.1918, allocations: 4 kB / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1919, allocations: 0 / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.192, allocations: 59.94 kB / 0.6609 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.192, allocations: 7.984 kB / 0.6609 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.1921, allocations: 7.938 kB / 0.6609 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1922, allocations: 48.17 kB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1922, allocations: 0 / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.335e-06/0.1923, allocations: 3.938 kB / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.1923, allocations: 0 / 0.6609 GB, free: 9.012 MB / 0.4981 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.0004334/0.1927, allocations: 335.4 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1928, allocations: 16.02 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.1928, allocations: 30.75 kB / 0.6613 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.193, allocations: 24.88 kB / 0.6613 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1932, allocations: 168.3 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1932, allocations: 4.312 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1932, allocations: 4.375 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1934, allocations: 50.22 kB / 0.6615 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1934, allocations: 3.938 kB / 0.6615 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.1934, allocations: 0 / 0.6615 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1934, allocations: 4 kB / 0.6615 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.1935, allocations: 12 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.1937, allocations: 157.7 kB / 0.6617 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.1955, allocations: 270.4 kB / 0.6619 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.1956, allocations: 24.84 kB / 0.662 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.1956, allocations: 4 kB / 0.662 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1957, allocations: 30.56 kB / 0.662 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1957, allocations: 0 / 0.662 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001879/0.1959, allocations: 65.62 kB / 0.6621 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1959, allocations: 51.41 kB / 0.6621 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.196, allocations: 93.86 kB / 0.6622 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.196, allocations: 25.7 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.1961, allocations: 88.2 kB / 0.6623 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1961, allocations: 11.89 kB / 0.6623 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.1962, allocations: 17.72 kB / 0.6623 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1963, allocations: 310.8 kB / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.1964, allocations: 8 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.1964, allocations: 15.98 kB / 0.6627 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.309e-05/0.1964, allocations: 20.86 kB / 0.6627 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1965, allocations: 7.938 kB / 0.6627 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001182/0.1966, allocations: 49.69 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1966, allocations: 15.94 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1966, allocations: 3.938 kB / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1966, allocations: 0 / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.1967, allocations: 7.938 kB / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1967, allocations: 0 / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.1968, allocations: 4 kB / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1968, allocations: 0 / 0.6628 GB, free: 6.879 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.469e-05/0.1969, allocations: 109.8 kB / 0.6629 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1969, allocations: 15.88 kB / 0.6629 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.1969, allocations: 11.5 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1969, allocations: 336 / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.197, allocations: 0 / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.197, allocations: 0 / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1971, allocations: 153.7 kB / 0.663 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1971, allocations: 3.984 kB / 0.663 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.1972, allocations: 8 kB / 0.6631 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1972, allocations: 3.938 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1972, allocations: 0 / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1972, allocations: 0 / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1972, allocations: 0 / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.1973, allocations: 85.06 kB / 0.6631 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.1974, allocations: 89.03 kB / 0.6632 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1975, allocations: 7.938 kB / 0.6632 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/0.1975, allocations: 0 / 0.6632 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.1975, allocations: 4 kB / 0.6632 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1975, allocations: 0 / 0.6632 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.1976, allocations: 79.28 kB / 0.6633 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1976, allocations: 0 / 0.6633 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001841/0.1978, allocations: 8 kB / 0.6633 GB, free: 6.207 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004695/0.1983, allocations: 0.6201 MB / 0.6639 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.1984, allocations: 27.98 kB / 0.664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.1984, allocations: 4.094 kB / 0.664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.1984, allocations: 15.94 kB / 0.664 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1987, allocations: 7.984 kB / 0.664 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.1992, allocations: 156.1 kB / 0.6641 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1996, allocations: 0.6729 MB / 0.6648 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.1996, allocations: 8 kB / 0.6648 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.1997, allocations: 15.38 kB / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.1997, allocations: 0 / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.2221, allocations: 1.309 MB / 0.6661 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.197, allocations: 22.31 kB / 0.6661 GB, free: 3.371 MB / 0.4981 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/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)